-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
libzmq static linking is giving problem in GO SDK. #2849
Comments
Hello @bluca , |
Hello @bluca , Can you provide your opinion on this? |
You cannot statically link to glibc - it uses runtime plugins for things like DNS resolution. Besides that, it looks like a problem with Golang, by searching for that error on google this is the second result: |
No updates and problem seemed unrelated to libzmq, closing |
I am using pebbe [zmq4] go zeroMQ library which is written on the top of libzmq.
I was trying to link static library of library:
CGO_LDFLAGS+='-lstdc++ -lm ' CGO_ENABLED=1 GOOS=linux go build -a --ldflags '-extldflags "-static" -v' sample.go
But, i got the following error in libzmq:
Please help me if any body has tried or is have saw such kind of error.
The text was updated successfully, but these errors were encountered: