在Centos 6.5上从remi repo获取php-mcypt的依赖关系

我在我的Centos 6.5服务器上安装了PHP 5.4的remi版本库。 但是,如果我想要安装php-mcryptforms这个存储库我获得依赖性错误

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 

libmcrypt位于EPEL存储库中,您似乎没有安装该存储库。 安装EPEL库,然后重试。