Topic: install php56-php-gd on CentOS8 : nothing provides libt1.so.5()(64bit)

Bonjour,

J'installe un serveur sous CentOS 8 et je souhaite utiliser php de AppStream (version 7.2.24) et parallèlement une version 5.6 pour d'anciennes applications.
J'ai suivi la page https://rpms.remirepo.net/wizard/ et tout semble bien se passer (les pages phpinfo() donnent le résultat attendu dans les deux versions).
J'ai installé plusieurs Modules PHP dans les deux versions sans aucun problème (par exemple php-mbstring, php-ldap)
Mais ça bloque sur l'installation de php56-php-gd avec ce message :
# yum install php56-php-gd
Dernière vérification de l’expiration des métadonnées effectuée il y a 1:50:09 le ven. 11 sept. 2020 12:49:24 CEST.
Erreur :
Problème: cannot install the best candidate for the job
  - nothing provides libt1.so.5()(64bit) needed by php56-php-gd-5.6.40-22.el8.remi.x86_64
(essayez d’ajouter « --skip-broken » pour ignorer les paquets non installables ou « --nobest » pour ne pas utiliser seulement les meilleurs paquets candidats)

Que faire ?

Thierry Labbé
INRAE

PS : php-gd s'est installé sans problème dans la version du dépôt AppStream :
[root@022-0570-testMigration conf.d]# yum list php-gd
Dernière vérification de l’expiration des métadonnées effectuée il y a 1:54:10 le ven. 11 sept. 2020 12:49:24 CEST.
Paquets installés
php-gd.x86_64                                       7.2.24-1.module_el8.2.0+313+b04d0a66                                        @AppStream

Re: install php56-php-gd on CentOS8 : nothing provides libt1.so.5()(64bit)

Effectivement il y a un soucis.

t1lib fait partie des paquets habituellement dans EPEL mais manquant
Tracker: https://github.com/remicollet/remirepo/issues/128

Par contre j'avais oublié de le mettre dans "remi-safe", ce qui est maintenant fait.

Merci du signalement

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: install php56-php-gd on CentOS8 : nothing provides libt1.so.5()(64bit)

Soit patienter pendant la synchro des miroirs (qq heures)

Soit

dnf --enablerepo=remi install t1lib
dnf install php56-php-gd
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: install php56-php-gd on CentOS8 : nothing provides libt1.so.5()(64bit)

Merci bien !
Je ne procèderais à l'installation que la semaine prochaine.
Bien cordialement,

Re: install php56-php-gd on CentOS8 : nothing provides libt1.so.5()(64bit)

It works !

Merci :-)

Re: install php56-php-gd on CentOS8 : nothing provides libt1.so.5()(64bit)

smile

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