我有一个问题做一个百胜利更新与PHP和它有libjpeg.so依赖问题
这里是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
我做了一个findlibjpeg,它发现它:
locate libjpeg /usr/lib/libjpeg.so /usr/lib/libjpeg.so.62
有没有人有这个问题或知道如何解决它? 我应该简单地做–skip-打破,并呼吁一天?
谢谢。
在一些库版本中,CentOS 6.4打破了向后兼容性,因此最新的Webtatic版本只支持CentOS 6.4的某些软件包(大多数PHP软件包不受影响)。
如果你可以将你的CentOS 6.x版本更新到6.4,那就可以解决这个问题。 CentOS近年来开始难以修复早期版本,试图将用户推向最新版本。
对于无法升级的服务器来说这不是一个理想的情况,但是存储库必须支持每个次要版本才能避免这种情况。