[root@localhost ~]# yum install php56w-mcrypt
Loaded plugins: fastestmirror, replace, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: ftp.tc.edu.tw
* extras: ftp.tc.edu.tw
* updates: ftp.tc.edu.tw
* webtatic: sp.repo.webtatic.com
Resolving Dependencies
–> Running transaction check
—> Package php56w-mcrypt.x86_64 0:5.6.32-1.w6 will be installed
–> Processing Dependency: libmcrypt.so.4()(64bit) for package: php56w-mcrypt-5.6.32-1.w6.x86_64
–> Finished Dependency Resolution
Error: Package: php56w-mcrypt-5.6.32-1.w6.x86_64 (webtatic)
Requires: libmcrypt.so.4()(64bit)
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest
Resolve :
#rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
#rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
#yum clean
#yum install php56w-mcrypt
Dependencies Resolved
===================================================================================================================
Package Arch Version Repository Size
===================================================================================================================
Installing:
php56w-mcrypt x86_64 5.6.32-1.w6 webtatic 26 k
Installing for dependencies:
libmcrypt x86_64 2.5.8-9.el6 epel 96 k
Transaction Summary
===================================================================================================================
Install 2 Package(s)
Installed:
php56w-mcrypt.x86_64 0:5.6.32-1.w6
Dependency Installed:
libmcrypt.x86_64 0:2.5.8-9.el6