Topic: Can't install php-gd with remi-php55 repo

[root@rheldev ~]# yum install php-gd --enablerepo=remi-php55
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
* base: ftp.sunet.se
* epel: ftp.uni-koeln.de
* extras: ftp.sunet.se
* remi-php55: remi.mirrors.hostinginnederland.nl
* updates: ftp.sunet.se
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-gd.x86_64 0:5.5.6-1.el6.remi will be installed
--> Processing Dependency: libvpx.so.0()(64bit) for package: php-gd-5.5.6-1.el6.remi.x86_64
--> Processing Dependency: libt1.so.5()(64bit) for package: php-gd-5.5.6-1.el6.remi.x86_64
--> Processing Dependency: libgd.so.3()(64bit) for package: php-gd-5.5.6-1.el6.remi.x86_64
--> Running transaction check
---> Package libvpx.x86_64 0:0.9.0-8.el6_0 will be installed
---> Package php-gd.x86_64 0:5.5.6-1.el6.remi will be installed
--> Processing Dependency: libgd.so.3()(64bit) for package: php-gd-5.5.6-1.el6.remi.x86_64
---> Package t1lib.x86_64 0:5.1.2-6.el6_2.1 will be installed
--> Finished Dependency Resolution
Error: Package: php-gd-5.5.6-1.el6.remi.x86_64 (remi-php55)
           Requires: libgd.so.3()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


Any ideas? It seems libgd.so.3() package is broken.

Re: Can't install php-gd with remi-php55 repo

When you enable remi-php55, you must also enable remi (which provides gd-last, and so libgd.so.3)

yum install php-gd --enablerepo=remi,remi-php55
Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Can't install php-gd with remi-php55 repo

Doh, thanks for a quick answer!!