Error installing ZeroMQ

左心房为你撑大大i 提交于 2019-12-02 02:52:11

问题


Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/zmq/__init__.py", line 51, in <module>
    from zmq import core, devices
  File "/usr/local/lib/python2.7/dist-packages/zmq/core/__init__.py", line 26, in <module>
    from zmq.core import (constants, error, message, context,
ImportError: /usr/local/lib/python2.7/dist-packages/zmq/core/socket.so: undefined symbol: 
zmq_sendmsg

I am getting above error. I have followed steps given on the official site of ZeroMQ.


回答1:


Had a similar issue when building for Java, UnsatisifedLinkError, after the so libraries were copied to /usr/local/lib, seems like your issue might be the same...I fixed it by logging off then logging back in again, I read something about the libraries not being visible until the user logs back in, weird, but it worked for me.



来源:https://stackoverflow.com/questions/12935623/error-installing-zeromq

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!