我在尝试在 Python 中导入这个 .so 文件时遇到问题......我将它添加到我的/etc/bashrc
并source
让它重新加载......到目前为止没有运气......
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
该文件确实存在于/usr/local/lib/lobzookeeper_mt.so.2
File "build/bdist.linux-x86_64/egg/zookeeper.py", line 7, in <module>
File "build/bdist.linux-x86_64/egg/zookeeper.py", line 6, in __bootstrap__
ImportError: libzookeeper_mt.so.2: cannot open shared object file: No such file or directory
我现在不知道该怎么做,有人知道我做错了什么吗?顺便说一句,我也在使用 Centos 6 64 位。