VPS侦探论坛

 找回密码
 注册
查看: 5239|回复: 5

centos7.1安装lnmp1.3出错

[复制链接]
发表于 2016-8-17 19:02:07 | 显示全部楼层 |阅读模式

请军哥帮忙查一下是什么原因导致的。谢谢!

本帖子中包含更多资源

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

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-8-17 19:27:57 | 显示全部楼层


There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   /usr/lib64/python2.7/site-packages/pycurl.so: undefined symbol: CRYPTO_num_locks

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.7.5 (default, Jun 17 2014, 18:11:42)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-16)]

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

你系统yum有问题

ldconfig -v | grep libcurl看一下,可能多个libcurl导致的
find / -name libcurl.so.4 看一下
一般系统安装的libcurl目录是 /usr/lib64/libcurl.so.4 或 /usr/lib/libcurl.so.4
把另外一个删除,然后ldconfig 应该就可以
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-8-17 19:43:14 | 显示全部楼层

军哥,你好,刚使用命令,果然报这些错误。

[root@wxgzh ~]# ldconfig -v | grep libcurl
ldconfig: 无法对 /usr/local/mysql/lib 进行 stat 操作: 没有那个文件或目录
ldconfig: 多次给出路径“/usr/lib”
ldconfig: 多次给出路径“/usr/local/lib”
ldconfig: 多次给出路径“/lib”
ldconfig: 多次给出路径“/lib64”
ldconfig: 无法对 /libx32 进行 stat 操作: 没有那个文件或目录
ldconfig: 多次给出路径“/usr/lib”
ldconfig: 多次给出路径“/usr/lib64”
ldconfig: 无法对 /usr/libx32 进行 stat 操作: 没有那个文件或目录
ldconfig: 无法对 /lib/libltdl.so.3 进行 stat 操作: 没有那个文件或目录
        libcurl.so.4 -> libcurl.so.4.4.0
        libcurl.so.4 -> libcurl.so.4.3.0
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2016-8-18 12:56:18 | 显示全部楼层

centos7.1安装lamp失败




军哥,你好,在安装过程中最后报告错误。请帮忙检查一下原因,谢谢!

本帖子中包含更多资源

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

x
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2016-8-18 19:26:59 | 显示全部楼层

The output of /usr/local/apache/bin/apxs follows:
/usr/local/apache/bin/httpd: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory



ln -sf /usr/local/lib/libiconv.so.2 /usr/lib/libiconv.so.2 后试试

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

 楼主| 发表于 2016-8-19 14:49:55 | 显示全部楼层

问题完美解决


谢谢军哥的帮助与指导。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-29 03:21 , Processed in 0.027943 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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