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
go get fails #228
Comments
It's complaining about libczmq, not libzmq |
@bluca it worked, but what about libsodium? It's still complaining about that. Also, could you tell me why they're necessary? And is this for development only? I'd like to understand what's going on. Because I installed |
Ok, I randomly tried
this one I have no idea what to do :( |
I assume that's because this repository needs the DRAFT APIs, but the builds in Debian/Ubuntu don't ship with them since they are not stable. |
You can also add the repository that builds packages with DRAFT APIs enabled from our OBS page: https://build.opensuse.org/project/show/home:zeromq:git-draft For example for Ubuntu 16.04 you want to add to /etc/apt/sources.list:
|
@bluca @LucasZanella that's correct - current v4 needs the DRAFT APIs enabled. Go unfortunately doesn't have support for conditional compilation via macros. goczmq.v3 will work without draft apis enabled. There may be a way to make this more pleasant with go build flags - go doesn't seem to have very much in the way of conditional compilation, and I wanted to start adding support for the draft socket types. Open to better ways of handling this but for now if you want to use the standard ubuntu packages, v3 should work for you. |
@bluca @LucasZanella I moved things that depend on a czmq built with DRAFT enabled to their own files, and guarded them with a build flag of "draft". go get / go build will now default to not requiring a DRAFT enabled CZMQ. go build -tag=draft will build with the new experimental features. |
I am having the same issue. Unfortunately I am on So |
libczmq is definitely a different library than libzmq. CZMQ is a C api on
top of libzmq. If the "zeromq" package on manjaro only includes libzmq that
won't work. You'll need this: https://github.com/zeromq/czmq
As a possible alternative you could use pebbe/zmq4. It's a Go library
written directly on top of libzmq, and will have no dependency on czmq -
you can find it here: https://github.com/pebbe/zmq4
…On Wed, Apr 8, 2020 at 7:59 PM holisticode ***@***.***> wrote:
I am having the same issue. Unfortunately I am on manjaro linux, and I
could not find any package libczmq-dev on arch linux / manjaro, nor any
libczmq. It looks like this should be already available in the main zeromq
package.
So go get fails for me. Any suggestion?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#228 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABSO7ZTNB43AYJKPNZONVDRLUFUNANCNFSM4C7FCGXQ>
.
|
Thanks @taotetek, what I do not understand though is that I have this entry in the
which seems to run
This worries me. This should be some generic |
it's czmq, not libczmq |
Oh, yes, that worked!
|
Hi, I'm doing
go get gopkg.in/zeromq/goczmq.v4
and I get the following:But when I do apt-get install libzmq-dev I see that the package already exists. Should this fail and I fix it manually or this is a real issue? Sorry if not, but I think it should be automatic.
The text was updated successfully, but these errors were encountered: