Wrong JPEG library version: library is 62, caller expects 80
This is caused by multiple versions of libjpeg installed on the server.
Check for libjpeg in library folders.
Lib folders can be find by checking /etc/ld.so.conf
root@serv02 [/usr/lib]# cat /etc/ld.so.conf include ld.so.conf.d/*.conf /usr/lib64/ /usr/local/lib /usr/lib root@serv02 [/usr/lib]# cd /usr/lib64/
Check version of libjpeg installed
cd /usr/lib64/ ls -la | grep jpeg cd /usr/local/lib ls -la | grep jpeg cd /usr/lib ls -la | grep jpeg
Folder /usr/lib64/ have libjpeg.so.62.0.0 installed.
root@serv02 [/usr/lib]# cd /usr/lib64/ root@serv02 [/usr/lib64]# ls -la | grep jpeg lrwxrwxrwx 1 root root 17 Mar 8 09:54 libjpeg.so -> libjpeg.so.62.0.0* lrwxrwxrwx 1 root root 17 Mar 8 09:14 libjpeg.so.62 -> libjpeg.so.62.0.0* -rwxr-xr-x 1 root root 138936 Jan 6 2007 libjpeg.so.62.0.0* root@serv02 [/usr/lib64]#
Folder /usr/local/lib have libjpeg.so.8.3.0 installed
root@serv02 [/usr/local/lib]# ls -la | grep jpeg drwxr-xr-x 4 uploadin users 12288 Mar 9 11:43 jpeg-8c/ -rw-r--r-- 1 root root 986681 Jan 16 10:22 jpegsrc.v8c.tar.gz -rw-r--r-- 1 root root 1759458 Mar 9 11:43 libjpeg.a -rwxr-xr-x 1 root root 916 Mar 9 11:43 libjpeg.la* lrwxrwxrwx 1 root root 16 Mar 9 11:43 libjpeg.so -> libjpeg.so.8.3.0* lrwxrwxrwx 1 root root 16 Mar 8 15:36 libjpeg.so.7 -> libjpeg.so.7.0.0* -rwxr-xr-x 1 root root 335442 Mar 8 15:36 libjpeg.so.7.0.0* lrwxrwxrwx 1 root root 16 Mar 9 11:43 libjpeg.so.8 -> libjpeg.so.8.3.0* -rwxr-xr-x 1 root root 968498 Mar 9 11:43 libjpeg.so.8.3.0* root@serv02 [/usr/local/lib]#
To fix, deleted all libjpeg.so.62.0.0 files
cd /usr/lib64/ rm -f libjpeg.so.*
Now create a symlink
cd /usr/lib64/ ln -s /usr/local/lib/libjpeg.so.8.3.0 libjpeg.so.62
Check what provides libjpeg
yum whatprovides "*/libjpeg.so.62.0.0"
See if libjpeg installed
rpm -qa | grep libjpeg
root@serv02 [/usr/local/lib]# rpm -qa | grep libjpeg libjpeg-6b-37 libjpeg-devel-6b-37 libjpeg-6b-37 root@serv02 [/usr/local/lib]#
Uninstall libjpeg
rpm -e --nodeps libjpeg-6b-37 libjpeg-devel-6b-37 libjpeg-6b-37
Edit /etc/yum.conf
Disable auto updating libjpeg by adding
libjpeg*
in exclude line.
See Errors