Saturday, August 17, 2013

php-gd installation fails because of libjpeg.so.62 though it is installed

Problem : php-gd installation fails on rhel6 because of libjpeg.so.62 though libjpeg-6b-46.el6.x86_64 is installed.


# /usr/bin/yum -d 0 -e 0 -y install php-gd-5.3.3-22.el6
Error: Package: php-gd-5.3.3-22.el6.x86_64 (qa-redhat-x86_64-6-repository)
           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
#rpm -qf /usr/lib64/libjpeg.so.62
libjpeg-6b-46.el6.x86_64



Solution : Install libjpeg-turbo along with other installed package since libjpeg-6b-4 is replaced with libjpeg-turbo

# yum install php-gd libjpeg-turbo


Referencehttps://access.redhat.com/site/solutions/324053

Did it help you ?

No comments:

Post a Comment