You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to install pyzmq on Cygwin32 or Cygwin64 and I tried this command given here:
$ gcc -shared -o cygzmq.dll -Wl,--out-implib=libzmq.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive .libs/libzmq.a -Wl,--no-whole-archive -lstdc++
.libs/libzmq.a(libzmq_la-ctx.o): In function `zmq::ctx_t::~ctx_t()':
/usr/src/zeromq-4.1.3/src/ctx.cpp:117: undefined reference to `randombytes_close'
/usr/src/zeromq-4.1.3/src/ctx.cpp:117:(.text+0xe83): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `randombytes_close'
...
/usr/src/zeromq-4.1.3/src/curve_server.cpp:547: undefined reference to `crypto_box_afternm'
.libs/libzmq.a(libzmq_la-curve_server.o): In function `zmq::curve_server_t::process_initiate(zmq::msg_t*)':
/usr/src/zeromq-4.1.3/src/curve_server.cpp:421: undefined reference to `crypto_secretbox_open'
/usr/src/zeromq-4.1.3/src/curve_server.cpp:454: undefined reference to `crypto_box_open'
/usr/src/zeromq-4.1.3/src/curve_server.cpp:479: undefined reference to `crypto_box_open'
/usr/src/zeromq-4.1.3/src/curve_server.cpp:496: undefined reference to `crypto_box_beforenm'
.libs/libzmq.a(libzmq_la-zmq_utils.o): In function `zmq_curve_keypair':
/usr/src/zeromq-4.1.3/src/zmq_utils.cpp:202: undefined reference to `crypto_box_keypair'
collect2: error: ld returned 1 exit status
Why do I get undefined references?
The text was updated successfully, but these errors were encountered:
I am trying to install
pyzmq
on Cygwin32 or Cygwin64 and I tried this command given here:Why do I get undefined references?
The text was updated successfully, but these errors were encountered: