I have problem with imagick php extension. When trying to manipulate jpeg files error occurs:
Wrong JPEG library version: library is 62, caller expects 80
I was trying to find where that library is istalled with:
# ldconfig -p | grep libjpeg
libjpeg.so.8 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libjpeg.so.8
libjpeg.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libjpeg.so
and
# whereis libjpeg
libjpeg: /usr/local/lib/libjpeg.a
phpinfo() shows:
libJPEG Version 6b
in "gd" section
I have also tried to install both libjpeg8 and libjpeg8-dev via apt-get, it says its already installed:
libjpeg8 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
libjpeg8-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I'm running:
- Debian 7.9
- Apache/2.4.17 (Unix)
- PHP 5.5.30 (cli) Zend Engine v2.5.0,
- Imagick 3.1.2
I'm really confused - i've search google but nothing helped. What should I do?