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

Need static libraries for czmq and zmq #811

Open
ggsteele opened this issue May 29, 2020 · 2 comments
Open

Need static libraries for czmq and zmq #811

ggsteele opened this issue May 29, 2020 · 2 comments

Comments

@ggsteele
Copy link

For my current software, I've been installing dynamic ZMQ libraries: apt-get install libzmq3-dev. Requires extra work when software is deployed and would like to get linkable static libraries to use instead. In the future will be working on something that will be "embedded" without a real OS and hoping to prepare for that. Have found the source and been able to build "libczmq.a". From my research, I also found that I'd need a static version of libsodium. Have found the source and built "libsodium.a". Also seems like I need a static library of "libzmq", but can't find any source. Or if somebody had built this, I'd love just a ".a" file. I'm running on Linux, Debian 9 and I have found a .deb file, but that's just a dynamic install package, unless I'm missing something. Found references to a libzmq project, but indications that it was "closed". Can anybody point me at something I can use, source to rebuild from or just a ".a" library? If I don't need libzmq and just need libczmq, that would be great. thx in advance...

@bluca
Copy link

bluca commented May 29, 2020

the static libraris are in the -dev packages already, you don't need to rebuild it

@ggsteele
Copy link
Author

Thx for the quick reply!! Not a Linux guru, but found how to extract things. Just as you noted, I found the libczmq.a in the dev package: libczmq-dev_4.0.2-7_amd64.deb. This is the only ZMQ "package" I can find on my laptop. Is it the same as what would be in libzmq3-dev? Do I need just libczmq.a? Or do I still need to find libzmq.a? And is libsodium required? or not?

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

2 participants