Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#37401 - [zeromq] libsodium is not an optional dependency
Attached to Project:
Community Packages
Opened by Kartik Mohta (kartikmohta) - Friday, 18 October 2013, 22:56 GMT
Last edited by Kyle Keen (keenerd) - Friday, 18 October 2013, 23:13 GMT
Opened by Kartik Mohta (kartikmohta) - Friday, 18 October 2013, 22:56 GMT
Last edited by Kyle Keen (keenerd) - Friday, 18 October 2013, 23:13 GMT
|
DetailsWith zeromq 4.0.1-2, compiling a program fails with undefined references to crypto functions from libsodium. The error message is as follows:
/usr/bin/ld: warning: libsodium.so.4, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libzmq.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libzmq.so: undefined reference to `crypto_secretbox_open' /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libzmq.so: undefined reference to `crypto_box_beforenm' /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libzmq.so: undefined reference to `crypto_secretbox' /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libzmq.so: undefined reference to `crypto_box' /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libzmq.so: undefined reference to `crypto_box_keypair' /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libzmq.so: undefined reference to `crypto_box_open' /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libzmq.so: undefined reference to `crypto_box_open_afternm' /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libzmq.so: undefined reference to `randombytes' /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libzmq.so: undefined reference to `crypto_box_afternm' collect2: error: ld returned 1 exit status |
This task depends upon
Comment by Kyle Keen (keenerd) -
Friday, 18 October 2013, 23:08 GMT
Sorry, I installed the old -1 for testing. Fixing.