linux 安装PHP和couchbase出…

本文详细介绍了在安装PHP 5.4.6和Couchbase Server 2.0.0过程中遇到的依赖问题及解决方案。针对libjpeg.so.62, liblber-2.3.so.0, libldap-2.3.so.0, libpng12.so.0和libcrypto.so.6, libssl.so.6等缺失的依赖,提供了具体所需安装的rpm包名称,帮助读者顺利完成软件安装。
1.安装PHP的依赖问题:
[root @TEST ~]# rpm -ivh php5-5.4.6-1.x86_64.rpm 
error: Failed dependencies:
libjpeg.so.62()(64bit) is needed by php5-5.4.6-1.x86_64
liblber-2.3.so.0()(64bit) is needed by php5-5.4.6-1.x86_64
libldap-2.3.so.0()(64bit) is needed by php5-5.4.6-1.x86_64
libpng12.so.0()(64bit) is needed by php5-5.4.6-1.x86_64
libpng12.so.0(PNG12_0)(64bit) is needed by php5-5.4.6-1.x86_64
 
解决方法:
①libjpeg.so.62()(64bit) 
需要安装 libjpeg-6b-46.el6.x86_64.rpm
②liblber-2.3.so.0()(64bit) 和 libldap-2.3.so.0()(64bit)  
需要安装 openldap-2.4.23-26.el6.x86_64.rpm 和 compat-openldap-2.3.43-2.el6.x86_64.rpm
③libpng12.so.0()(64bit) 和 libpng12.so.0(PNG12_0)(64bit)
需要安装 libpng-1.2.49-1.el6_2.x86_64.rpm
 
2.安装couchbase依赖问题
[root @TEST ~]#rpm -ivh couchbase-server-enterprise_x86_64_2.0.0.rpm
error: Failed dependencies:
    libcrypto.so.6()(64bit) is needed by couchbase-server-2.0.0-1976.x86_64
    libssl.so.6()(64bit) is needed by couchbase-server-2.0.0-1976.x86_64
解决方法:
安装 openssl098e-0.9.8e-17.el6.centos.2.x86_64.rpm
 
注: 在这个网站搜索的地方输入需要的文件名字,如libgd.so,则搜索结果中就会显示需要安装哪个软件包才具有这个文件。 http://rpmfind.net/linux/RPM/index.html

 

转载于:https://my.oschina.net/qingmeisu/blog/604485

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值