Topic: remi-php56 install php-mcrypt issue "Requires: libltdl.so.3()(64bit)"

OS: CentOS 6.4 64bit
KERNEL: 2.6.32-358.el6.x86_64

yum --enablerepo=remi-php56 install libmcrypt libtool-ltdl

# yum --enablerepo=remi-php56 install php-mcrypt
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-mcrypt.x86_64 0:5.6.30-1.el5.remi will be installed
--> Processing Dependency: libltdl.so.3()(64bit) for package: php-mcrypt-5.6.30-1.el5.remi.x86_64
--> Finished Dependency Resolution
Error: Package: php-mcrypt-5.6.30-1.el5.remi.x86_64 (remi-php56)
           Requires: libltdl.so.3()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


# repoquery -q -f */libltdl.so.7*
libtool-ltdl-0:2.2.6-15.5.el6.i686
libtool-ltdl-0:2.2.6-15.5.el6.x86_64

# repoquery -q -f */libltdl.so.3*
NOTHING

# find / | grep libltdl.so
/usr/lib64/libltdl.so.7
/usr/lib64/libltdl.so.7.2.1

ln -s /usr/lib64/libltdl.so.7 /usr/lib64/libltdl.so.3

# find / | grep libltdl.so
/usr/lib64/libltdl.so.7
/usr/lib64/libltdl.so.3
/usr/lib64/libltdl.so.7.2.1


# yum --enablerepo=remi-php56 install php-mcrypt
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-mcrypt.x86_64 0:5.6.30-1.el5.remi will be installed
--> Processing Dependency: libltdl.so.3()(64bit) for package: php-mcrypt-5.6.30-1.el5.remi.x86_64
--> Finished Dependency Resolution
Error: Package: php-mcrypt-5.6.30-1.el5.remi.x86_64 (remi-php56)
           Requires: libltdl.so.3()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Re: remi-php56 install php-mcrypt issue "Requires: libltdl.so.3()(64bit)"

>   ---> Package php-mcrypt.x86_64 0:5.6.30-1.el5.remi will be installed

You are trying to install EL-5 package on EL-6

Follow the Wizard (top right link)


P.S. about mcrypt, you should read https://blog.remirepo.net/post/2015/07/ … php-mcrypt

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70

3 (edited by para.macaolife 2017-09-22 14:47:08)

Re: remi-php56 install php-mcrypt issue "Requires: libltdl.so.3()(64bit)"

#
rpm -e remi-release-5.10-1.el5.remi.noarch

#
rpm -ivh http://rpms.famillecollet.com/enterpris … ease-6.rpm

#
rm -f /etc/yum.repos.d/remi-php54.repo
rm -f /etc/yum.repos.d/remi-php70.repo
rm -f /etc/yum.repos.d/remi-php71.repo
rm -f /etc/yum.repos.d/remi-php72.repo
rm -f /etc/yum.repos.d/remi-safe.repo

#
yum --enablerepo=remi,remi-php56 install php php-fpm
yum --enablerepo=remi,remi-php56 install php-mysql php-gd php-mbstring php-mcrypt php-xml

It is OK now, thank you!