[zeromq-dev] Problem linking library at compile time
Alan Ward
alan.ward at btinternet.com
Mon Jan 14 11:06:58 CET 2013
Hi,
I am trying to set up a client/server request/reply system from an ARM
Ubuntu 10.3 build to a x64 Ubuntu 12.04 build.
I initially installed zeromq on both using the default Ubuntu release with
apt-get install ..
I then compiled the hello world example, which failed because of an API
mismatch. I discovered that the Ubuntu zeromq version was 2.1.9.
So, I removed zeromq from both machines using apt-get remove .. And
re-installed 3.2.2 using the instructions from the 0MQ web page.
This appeared to work fine.
When I now compile the hello world example I get an 'undefined reference'
error for all the zmq. APIs referenced in the example.
I have tried the -lzmq option - no difference.
Ldconfig -p shows libzmq.so (etc) in /usr/local/lib.
What am I doing wrong?
Thanks,
Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130114/71627d67/attachment.htm>
More information about the zeromq-dev
mailing list