Uni9K1ng 发表于 2016-7-14 14:40:20

阿里云安装LNMP1.3 yum错误

There was a problem importing one of the Python modules
required 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, Jan 22 2014, 09:42:36)


If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq

licess 发表于 2016-7-14 15:59:51

ldconfig -v | grep libcurl看一下

Uni9K1ng 发表于 2016-7-14 16:14:39

# ldconfig -v | grep libcurl
ldconfig: /etc/ld.so.conf.d/kernel-2.6.32-573.22.1.el6.x86_64.conf:6: duplicate hwcap 1 nosegneg
ldconfig: Can't stat /usr/local/mysql/lib: No such file or directory
ldconfig: Path `/lib' given more than once
ldconfig: Path `/usr/lib' given more than once
ldconfig: Path `/usr/lib64' given more than once
        libcurl.so.4 -> libcurl.so.4.4.0
ldconfig: Cannot stat /usr/lib/libc-client.so: No such file or directory
        libcurl.so.4 -> libcurl.so.4.1.1

提交了阿里云的工单,然后回复是新装的libcurl库导致的问题,软链恢复成原来的就能使用yum了。
但是本地虚拟机上自己测试就是正常的,就是阿里云不正常。

Uni9K1ng 发表于 2016-7-14 16:21:07

这个是全新安装CentOS6.5之后的
# ldconfig -v | grep libcurl
ldconfig: /etc/ld.so.conf.d/kernel-2.6.32-573.22.1.el6.x86_64.conf:6: duplicate hwcap 1 nosegneg
        libcurl.so.4 -> libcurl.so.4.1.1

Uni9K1ng 发表于 2016-7-14 16:53:00


这是安装日志文件。

licess 发表于 2016-7-15 09:11:43

Loaded plugins: security
Setting up Install Process
Nothing to do
Loaded plugins: security
Setting up Install Process
No package cmake available.
Error: Nothing to do
Loaded plugins: security
Setting up Install Process
Nothing to do
Loaded plugins: security
Setting up Install Process
Nothing to do
Loaded plugins: security
Setting up Install Process
No package gcc-g77 available.
Error: Nothing to do
Loaded plugins: security
Setting up Install Process
Nothing to do

换其他源,基本的依赖包都找不到

Uni9K1ng 发表于 2016-7-15 17:33:05

回复 6# 的帖子

好了~谢谢。
阿里云的源的原因。
页: [1]
查看完整版本: 阿里云安装LNMP1.3 yum错误