Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation: could not determine kind of name for C.zmq_curve_public #84

Closed
stevegt opened this issue Apr 28, 2019 · 1 comment
Closed

Comments

@stevegt
Copy link

stevegt commented Apr 28, 2019

Getting an installation error from a third-party package; not enough of a gopher yet to immediately be able to troubleshoot or fix this -- anyone have any questions or ideas? Which zmq4 commit was lgo last tested against?

$ go get github.com/yunabe/lgo/cmd/lgo && go get -d github.com/yunabe/lgo/cmd/lgo-internal
$ lgo install
2019/04/28 15:32:11 Install lgo to /home/stevegt/.lgo
2019/04/28 15:32:11 Building libstd.so
2019/04/28 15:32:33 Building lgo core package
2019/04/28 15:32:37 Building third-party packages in $GOPATH
2019/04/28 15:32:37 Installing lgo-internal
# github.com/pebbe/zmq4
go/src/github.com/pebbe/zmq4/auth.go:640:15: could not determine kind of name for C.zmq_curve_public
2019/04/28 15:32:42 Failed to build lgo-internal: exit status 2
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/stevegt/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/stevegt/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/lib/go-1.12"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go-1.12/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build716270029=/tmp/go-build -gno-record-gcc-switches"
$ cd ~/go/src/github.com/yunabe/lgo/cmd/lgo
$ git log -1
commit 34ba4a23def1b162bcc74ea76e7cac2358841f43 (HEAD -> master, origin/master, origin/HEAD)
Author: Yu Watanabe 
Date:   Wed Mar 20 22:19:46 2019 +0900

    Skip main packages in lgo installpkg.
$ cd ~/go/src/github.com/pebbe/zmq4
$ git log -1
commit 7a493a642e7acbd03045d4f5fe9516908a62f86f (HEAD -> master, origin/master, origin/HEAD)
Author: Peter Kleiweg 
Date:   Sun Jan 13 10:08:35 2019 +0100

    prepare for ZeroMQ 4.3.1
@stevegt
Copy link
Author

stevegt commented Apr 28, 2019

Arg. Okay, missed a prerequisite; I had an old version of libzmq-dev installed. Upgraded to libzmq3-dev and this problem went away. Now hitting #82 because I'm using go 1.12.

@stevegt stevegt closed this as completed Apr 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant