Page 1 of 1

Required dependency issue for php and clamd update

Posted: Mon Mar 25, 2013 12:04 pm
by yimasun
I am trying to update php 5.3.x with atomic yum repo and I am getting the following error:
--> Running transaction check
---> Package php-gd.x86_64 0:5.3.23-16.el6.art will be an update
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: php-gd-5.3.23-16.el6.art.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.3.23-16.el6.art.x86_64 (atomic)
Requires: libjpeg.so.62(LIBJPEG_6.2)(64bit)

I checked and made sure I do indeed have libjpeg installed:
Installed Packages
Name : libjpeg
Arch : x86_64
Version : 6b
Release : 46.el6
Size : 293 k
Repo : installed
From repo : anaconda-RedHatEnterpriseLinux-201206132210.x86_64
Summary : A library for manipulating JPEG image format files
URL : http://www.ijg.org/
License : IJG
Description : The libjpeg package contains a library of functions for manipulating
: JPEG images, as well as simple client programs for accessing the
: libjpeg functions. Libjpeg client programs include cjpeg, djpeg,
: jpegtran, rdjpgcom and wrjpgcom. Cjpeg compresses an image file into
: JPEG format. Djpeg decompresses a JPEG file into a regular image
: file. Jpegtran can perform various useful transformations on JPEG
: files. Rdjpgcom displays any text comments included in a JPEG file.
: Wrjpgcom inserts text comments into a JPEG file.

rpm -ql libjpeg show it to be here as symlink: /usr/lib64/libjpeg.so.62 -> libjpeg.so.62.0.0

I also tried creating the same symlink in /lib64, /lib and /usr/lib and that didn't seem to help either.

Here is the full yum output:
yum update php
Loaded plugins: fastestmirror, priorities, product-id, security
Loading mirror speeds from cached hostfile
* atomic: www5.atomicorp.com
* epel: fedora.mirror.nexicom.net
* main-base: yum01tor.peer1.com
* main-extras: yum01tor.peer1.com
* main-optional: yum01tor.peer1.com
* main-updates: yum01tor.peer1.com
* rpmforge: mirror.team-cymru.org
1749 packages excluded due to repository priority protections
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php.x86_64 0:5.3.23-16.el6.art will be an update
--> Processing Dependency: php-common(x86-64) = 5.3.23-16.el6.art for package: php-5.3.23-16.el6.art.x86_64
--> Processing Dependency: php-cli(x86-64) = 5.3.23-16.el6.art for package: php-5.3.23-16.el6.art.x86_64
--> Running transaction check
---> Package php-cli.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php-cli.x86_64 0:5.3.23-16.el6.art will be an update
---> Package php-common.x86_64 0:5.3.3-14.el6_3 will be updated
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-ldap-5.3.3-14.el6_3.x86_64
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-bcmath-5.3.3-14.el6_3.x86_64
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-mbstring-5.3.3-14.el6_3.x86_64
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-gd-5.3.3-14.el6_3.x86_64
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-pdo-5.3.3-14.el6_3.x86_64
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-imap-5.3.3-14.el6_3.x86_64
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-mysql-5.3.3-14.el6_3.x86_64
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-odbc-5.3.3-14.el6_3.x86_64
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-xml-5.3.3-14.el6_3.x86_64
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-soap-5.3.3-14.el6_3.x86_64
---> Package php-common.x86_64 0:5.3.23-16.el6.art will be an update
--> Running transaction check
---> Package php-bcmath.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php-bcmath.x86_64 0:5.3.23-16.el6.art will be an update
---> Package php-gd.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php-gd.x86_64 0:5.3.23-16.el6.art will be an update
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: php-gd-5.3.23-16.el6.art.x86_64
--> Processing Dependency: libt1.so.5()(64bit) for package: php-gd-5.3.23-16.el6.art.x86_64
---> Package php-imap.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php-imap.x86_64 0:5.3.23-16.el6.art will be an update
---> Package php-ldap.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php-ldap.x86_64 0:5.3.23-16.el6.art will be an update
---> Package php-mbstring.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php-mbstring.x86_64 0:5.3.23-16.el6.art will be an update
---> Package php-mysql.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php-mysql.x86_64 0:5.3.23-16.el6.art will be an update
---> Package php-odbc.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php-odbc.x86_64 0:5.3.23-16.el6.art will be an update
---> Package php-pdo.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php-pdo.x86_64 0:5.3.23-16.el6.art will be an update
---> Package php-soap.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php-soap.x86_64 0:5.3.23-16.el6.art will be an update
---> Package php-xml.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php-xml.x86_64 0:5.3.23-16.el6.art will be an update
--> Running transaction check
---> Package php-gd.x86_64 0:5.3.23-16.el6.art will be an update
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: php-gd-5.3.23-16.el6.art.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.3.23-16.el6.art.x86_64 (atomic)
Requires: libjpeg.so.62(LIBJPEG_6.2)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


Also getting similar error with clamd:
--> Running transaction check
---> Package clamav.x86_64 0:0.97.6-1.el6 will be updated
---> Package clamav.x86_64 0:0.97.7-10.el6.art will be an update
---> Package clamd.x86_64 0:0.97.7-10.el6.art will be an update
--> Processing Dependency: libz.so.1(ZLIB_1.2.0.2)(64bit) for package: clamd-0.97.7-10.el6.art.x86_64
--> Finished Dependency Resolution
Error: Package: clamd-0.97.7-10.el6.art.x86_64 (atomic)
Requires: libz.so.1(ZLIB_1.2.0.2)(64bit)

libz exists and I tried the same steps as above.

Please help.

thanks

Re: Required dependency issue for php and clamd update

Posted: Mon Mar 25, 2013 6:16 pm
by prupert
[edit: incorrect assumption that you had two versions of PHP installed]

What does "package-cleanup --problems" tell you?

Re: Required dependency issue for php and clamd update

Posted: Tue Mar 26, 2013 10:27 am
by yimasun
Where do you see that we have two versions of PHP installed? I didn't see that, but it's possible.

package-cleanup --problems show no problems found.

Thanks

Re: Required dependency issue for php and clamd update

Posted: Tue Mar 26, 2013 10:31 am
by yimasun
Also just to clarify. We have php 5.3.3-14.el6_3 currently which is the latest distrib with our RHEL 6.3 (Red Hat Enterprise Linux Server release 6.3 (Santiago)).

Trying to update it to 5.3.23-16.el6.art which is the latest from the Atomic repo.

Re: Required dependency issue for php and clamd update

Posted: Wed Mar 27, 2013 8:25 am
by prupert
yimasun wrote:Where do you see that we have two versions of PHP installed? I didn't see that, but it's possible.
I was mistaken. The yum transaction check does not suggest you have two versions of PHP installed.

Re: Required dependency issue for php and clamd update

Posted: Fri Mar 29, 2013 4:58 pm
by t0ken
OP, did you ever get this resolved? I'm having the same exact issue [with php-gd not finding libjpeg].