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

Cant detect libsodium on ubuntu 14.04 #94

Open
Losiara opened this issue Jan 26, 2016 · 1 comment
Open

Cant detect libsodium on ubuntu 14.04 #94

Losiara opened this issue Jan 26, 2016 · 1 comment

Comments

@Losiara
Copy link

Losiara commented Jan 26, 2016

zmq ver 4.1
Builded libsodium LATEST, set sodium_CFLAGS, sodium_LIBS etc.
./configure says: "checking for sodium... yes"

make:

./.libs/libzmq.so: undefined reference to crypto_secretbox_open' ./.libs/libzmq.so: undefined reference tocrypto_box_beforenm'
./.libs/libzmq.so: undefined reference to crypto_secretbox' ./.libs/libzmq.so: undefined reference tocrypto_box'
./.libs/libzmq.so: undefined reference to crypto_box_keypair' ./.libs/libzmq.so: undefined reference tosodium_init'
./.libs/libzmq.so: undefined reference to crypto_box_open' ./.libs/libzmq.so: undefined reference torandombytes_close'
./.libs/libzmq.so: undefined reference to crypto_box_open_afternm' ./.libs/libzmq.so: undefined reference torandombytes'
./.libs/libzmq.so: undefined reference to crypto_box_afternm' collect2: error: ld returned 1 exit status make[1]: *** [curve_keygen] Error 1 make[1]: Leaving directory/home/a1/soft/zmq/zeromq4-1-master'
make: *** [all-recursive] Error 1

@hintjens
Copy link
Member

Have you built & installed libsodium and run ldconfig?

On Tue, Jan 26, 2016 at 4:39 PM, Losiara notifications@github.com wrote:

zmq ver 41
Builded libsodium LATEST, set sodium_CFLAGS, sodium_LIBS etc
/configure says: "checking for sodium yes"

make:

/libs/libzmqso: undefined reference to crypto_secretbox_open'
/libs/libzmqso: undefined reference tocrypto_box_beforenm'
/libs/libzmqso: undefined reference to crypto_secretbox'
/libs/libzmqso: undefined reference tocrypto_box'
/libs/libzmqso: undefined reference to crypto_box_keypair'
/libs/libzmqso: undefined reference tosodium_init'
/libs/libzmqso: undefined reference to crypto_box_open'
/libs/libzmqso: undefined reference torandombytes_close'
/libs/libzmqso: undefined reference to crypto_box_open_afternm'
/libs/libzmqso: undefined reference torandombytes'
/libs/libzmqso: undefined reference to crypto_box_afternm'
collect2: error: ld returned 1 exit status
make[1]: *** [curve_keygen] Error 1
make[1]: Leaving directory/home/a1/soft/zmq/zeromq4-1-master'
make: *** [all-recursive] Error 1


Reply to this email directly or view it on GitHub
#94.

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