VPS侦探论坛

 找回密码
 注册
查看: 4192|回复: 6

阿里云安装LNMP1.3 yum错误

[复制链接]
发表于 2016-7-14 14:40:20 | 显示全部楼层 |阅读模式

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)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://yum.baseurl.org/wiki/Faq
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-7-14 15:59:51 | 显示全部楼层


ldconfig -v | grep libcurl看一下
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 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了。
但是本地虚拟机上自己测试就是正常的,就是阿里云不正常。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 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
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-7-14 16:53:00 | 显示全部楼层


这是安装日志文件。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x

军哥运维代购:http://shop63846532.taobao.com/

发表于 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

换其他源,基本的依赖包都找不到
 楼主| 发表于 2016-7-15 17:33:05 | 显示全部楼层

回复 6# 的帖子


好了~谢谢。
阿里云的源的原因。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-17 08:53 , Processed in 0.029264 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表