The most likely explanation I can think of is that when you built pyzmq, it found libzmq-2.x headers, but when you run it, it's actually loading libzmq-3.x library. Do you perhaps have multiple libzmq installs, or did you recently upgrade libzmq?
What does the build step of pyzmq report about the version of libzmq it finds? -MnRK On Fri, Nov 2, 2012 at 5:10 PM, Benjamin Henrion <[email protected]> wrote: > Hi, > > Installing pyzmq on gentoo gives an error. > > Any idea what went wrong? > > ========================================================== > Python 2.7.3 (default, Aug 20 2012, 16:06:31) > [GCC 4.6.3] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import zmq > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/usr/lib64/python2.7/site-packages/zmq/__init__.py", line 29, > in <module> > from zmq import core, devices > File "/usr/lib64/python2.7/site-packages/zmq/core/__init__.py", line > 26, in <module> > from zmq.core import (constants, error, message, context, > ImportError: /usr/lib64/python2.7/site-packages/zmq/core/socket.so: > undefined symbol: zmq_sendmsg > ========================================================== > > -- > Benjamin Henrion <bhenrion at ffii.org> > FFII Brussels - +32-484-566109 - +32-2-3500762 > "In July 2005, after several failed attempts to legalise software > patents in Europe, the patent establishment changed its strategy. > Instead of explicitly seeking to sanction the patentability of > software, they are now seeking to create a central European patent > court, which would establish and enforce patentability rules in their > favor, without any possibility of correction by competing courts or > democratically elected legislators." > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
