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

ContextManager triggers libzmq error: invalid argument, mutex.hpp: 142 #24

Open
SalvoVirga opened this issue Jul 15, 2018 · 0 comments
Open
Labels
libzmq bugs related to libzmq

Comments

@SalvoVirga
Copy link
Member

SalvoVirga commented Jul 15, 2018

Not a real issue, I just put it here for documentation.

The new thread-safe singleton ContextManager class (see #22), triggers an error in libzmq when that is build with Tweetnacl.

Tweetnacl is the a library for cryptography used by libzmq as default option in their CMake, but it is not recommended for production code.
A better alternative is to build libzmq with libsodium and use that.

Anyhow, since we don't use any of those, we can just build libzmq without any support for cryptography.
That means turning off the CMake option ENABLE_CURVE (i.e. -DENABLE_CURVE=OFF).

More on this at zeromq/libzmq#2991

Wiki pages about installation will change according to this and refer to this issue.

@SalvoVirga SalvoVirga added the libzmq bugs related to libzmq label Jul 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libzmq bugs related to libzmq
Projects
None yet
Development

No branches or pull requests

1 participant