J'ai un problème pour faire une mise à jour yum avec php et il y a un problème de dépendance avec libjpeg.so.
Voici le résultat de la mise à jour de yum :
yum update
Resolving Dependencies
--> Running transaction check
---> Package php54w.i386 0:5.4.12-1.w6 will be updated
---> Package php54w.i386 0:5.4.13-1.w6 will be an update
---> Package php54w-bcmath.i386 0:5.4.12-1.w6 will be updated
---> Package php54w-bcmath.i386 0:5.4.13-1.w6 will be an update
---> Package php54w-cli.i386 0:5.4.12-1.w6 will be updated
---> Package php54w-cli.i386 0:5.4.13-1.w6 will be an update
---> Package php54w-common.i386 0:5.4.12-1.w6 will be updated
---> Package php54w-common.i386 0:5.4.13-1.w6 will be an update
---> Package php54w-devel.i386 0:5.4.12-1.w6 will be updated
---> Package php54w-devel.i386 0:5.4.13-1.w6 will be an update
---> Package php54w-gd.i386 0:5.4.12-1.w6 will be updated
---> Package php54w-gd.i386 0:5.4.13-1.w6 will be an update
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2) for package: php54w-gd-5.4.13-1.w6.i386
---> Package php54w-mbstring.i386 0:5.4.12-1.w6 will be updated
---> Package php54w-mbstring.i386 0:5.4.13-1.w6 will be an update
---> Package php54w-mcrypt.i386 0:5.4.12-1.w6 will be updated
---> Package php54w-mcrypt.i386 0:5.4.13-1.w6 will be an update
---> Package php54w-mysql.i386 0:5.4.12-1.w6 will be updated
---> Package php54w-mysql.i386 0:5.4.13-1.w6 will be an update
---> Package php54w-pdo.i386 0:5.4.12-1.w6 will be updated
---> Package php54w-pdo.i386 0:5.4.13-1.w6 will be an update
---> Package php54w-xml.i386 0:5.4.12-1.w6 will be updated
---> Package php54w-xml.i386 0:5.4.13-1.w6 will be an update
--> Finished Dependency Resolution
Error: Package: php54w-gd-5.4.13-1.w6.i386 (webtatic) Requires: libjpeg.so.62(LIBJPEG_6.2)
You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
php54w-mcrypt-5.4.12-1.w6.i386 has installed conflicts php-mcrypt = ('0', '5.4.12', '1.w6'): php54w-mcrypt-5.4.12-1.w6.i386
J'ai fait un locate libjpeg et il le trouve :
locate libjpeg
/usr/lib/libjpeg.so
/usr/lib/libjpeg.so.62
Est-ce que quelqu'un a déjà eu ce problème ou sait comment le résoudre ? Devrais-je simplement faire le --skip-broken et l'appeler un jour ?
Danke.
0 votes
L'un des problèmes semble être que vous avez des versions contradictoires de la bibliothèque php mcrypt installée. (1) php-mcrypt et (2) php54w-mcrypt. La bibliothèque "libjpeg.so.62(LIBJPEG_6.2)" dont php54w-gd-5.4.13-1.w6.i386 a besoin est fournie par un paquet nommé
libjpeg-turbo
. Est-il installé ?