一键安装lnmp报错pycurl.so: undefined symbol: CRYPTO_set_locking_callback 请问怎么解决
There was a problem importing one of the Python modulesrequired to run yum. The error leading to this problem was:
/usr/lib64/python2.6/site-packages/pycurl.so: undefined symbol: CRYPTO_set_locking_callback
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, Nov 22 2013, 12:16:22)
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
ldconfig -v | grep libcurl看一下
应该是存在多个libcurl造成的
回复 2# 的帖子
ldconfig -v | grep libcurlldconfig: 无法对 /usr/local/mysql/lib 进行 stat 操作: 没有那个文件或目录
ldconfig: 多次给出路径“/usr/local/lib”
ldconfig: 多次给出路径“/lib”
ldconfig: 多次给出路径“/usr/lib”
ldconfig: 多次给出路径“/usr/lib64”
ldconfig: 无法对 /usr/lib/libmcrypt.so 进行 stat 操作: 没有那个文件或目录
libcurl.so.4 -> libcurl.so.4.4.0
libcurl.so.4 -> libcurl.so.4.1.1 find / -name libcurl.so.4 看一下
一般系统安装的libcurl目录是 /usr/lib64/libcurl.so.4 或 /usr/lib/libcurl.so.4
把另外一个删除,然后ldconfig 应该就可以
回复 4# 的帖子
find / -name libcurl.so.4/usr/local/lib/libcurl.so.4
/usr/lib64/libcurl.so.4
# rm -rf /usr/local/lib/libcurl.so.4
# find / -name libcurl.so.4
/usr/lib64/libcurl.so.4
# ldconfig -v | grep libcurl
ldconfig: 无法对 /usr/local/mysql/lib 进行 stat 操作: 没有那个文件或目录
ldconfig: 多次给出路径“/usr/local/lib”
ldconfig: 多次给出路径“/lib”
ldconfig: 多次给出路径“/usr/lib”
ldconfig: 多次给出路径“/usr/lib64”
libcurl.so.4 -> libcurl.so.4.4.0 (改变)
ldconfig: 无法对 /usr/lib/libmcrypt.so 进行 stat 操作: 没有那个文件或目录
libcurl.so.4 -> libcurl.so.4.1.1 rm -rf /usr/local/lib/libcurl* 后yum应该就正常了 在大神的帮助下,解决了
[ 本帖最后由 kobe 于 2016-11-22 13:08 编辑 ]
回复 6# 的帖子
感谢您的帮助,已经成功安装,谢谢 find / -name libcurl.so.4/usr/lib/x86_64-linux-gnu/libcurl.so.4
ldconfig -v | grep libcurl
/sbin/ldconfig.real: Can't stat /usr/local/mysql/lib: No such file or directory
/sbin/ldconfig.real: Path `/usr/local/lib' given more than once
/sbin/ldconfig.real: Can't stat /usr/local/lib/x86_64-linux-gnu: No such file or directory
/sbin/ldconfig.real: Path `/usr/local/lib' given more than once
/sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than once
/sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once
/sbin/ldconfig.real: Path `/lib' given more than once
/sbin/ldconfig.real: Path `/usr/lib' given more than once
/sbin/ldconfig.real: /lib/x86_64-linux-gnu/ld-2.27.so is the dynamic linker, ignoring
libcurl.so.4 -> libcurl.so.4.5.0
libcurl-gnutls.so.4 -> libcurl-gnutls.so.4.5.0
这个怎么解决? licess 发表于 2016-11-17 19:44
rm -rf /usr/local/lib/libcurl* 后yum应该就正常了
find / -name libcurl.so.4
/usr/lib/x86_64-linux-gnu/libcurl.so.4
ldconfig -v | grep libcurl
/sbin/ldconfig.real: Can't stat /usr/local/mysql/lib: No such file or directory
/sbin/ldconfig.real: Path `/usr/local/lib' given more than once
/sbin/ldconfig.real: Can't stat /usr/local/lib/x86_64-linux-gnu: No such file or directory
/sbin/ldconfig.real: Path `/usr/local/lib' given more than once
/sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than once
/sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once
/sbin/ldconfig.real: Path `/lib' given more than once
/sbin/ldconfig.real: Path `/usr/lib' given more than once
/sbin/ldconfig.real: /lib/x86_64-linux-gnu/ld-2.27.so is the dynamic linker, ignoring
libcurl.so.4 -> libcurl.so.4.5.0
libcurl-gnutls.so.4 -> libcurl-gnutls.so.4.5.0
这个怎么解决? liu123 发表于 2019-4-21 11:22
find / -name libcurl.so.4
/usr/lib/x86_64-linux-gnu/libcurl.so.4
先描述具体问题,安装失败的话提供日志,反馈必读有具体说明
页:
[1]