Centos 6.5 上 remi repo 对 php-mcypt 的依赖

Centos 6.5 上 remi repo 对 php-mcypt 的依赖

我在 Centos 6.5 服务器中安装了 php 5.4,并安装了 remi 存储库。但如果我想从该存储库安装 php-mcrypt,则会收到依赖项错误

 yum --enablerepo=remi install php-gd php-mcrypt
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.hexageek.com
 * extras: mirror.hexageek.com
 * remi: mirror5.layerjet.com
 * updates: mirror.hexageek.com
Setting up Install Process
Package php-gd-5.4.26-1.el6.remi.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package php-mcrypt.x86_64 0:5.4.26-1.el6.remi will be installed
--> Processing Dependency: libmcrypt.so.4()(64bit) for package: php-mcrypt-5.4.26-1.el6.remi.x86_64
--> Processing Dependency: libltdl.so.7()(64bit) for package: php-mcrypt-5.4.26-1.el6.remi.x86_64
--> Running transaction check
---> Package libtool-ltdl.x86_64 0:2.2.6-15.5.el6 will be installed
---> Package php-mcrypt.x86_64 0:5.4.26-1.el6.remi will be installed
--> Processing Dependency: libmcrypt.so.4()(64bit) for package: php-mcrypt-5.4.26-1.el6.remi.x86_64
--> Finished Dependency Resolution
Error: Package: php-mcrypt-5.4.26-1.el6.remi.x86_64 (remi)
           Requires: libmcrypt.so.4()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

答案1

libmcrypt 位于 EPEL 存储库中,您似乎尚未安装该存储库。请安装 EPEL 存储库并重试。

相关内容