Debian Testing 64bit – php5-gd – libjpeg version Unknown

I found strange issue with php5-gd during upgrade of Linux Debian Testing.

php5-gd package is responsible for rendering and manipulation of images in PHP apps. Problem was that after installation phpinfo() displayed weird message:

libjpeg version: unknown

No JPEG manipulation was working. I found Sergio’s solution for 32 bit version of Debian Linux. The trick is in replacing someĀ so files from Suse.

Here is updated version for Debian 64bit:

cd /tmp
alien php5-gd-5.3.2-1.31.x86_64.rpm
dpkg -i php5-gd_5.3.2-2.31_amd64.deb
cp /usr/lib64/php5/extensions/ /usr/lib/php5/20090626/

alien -d libpng14-14-1.4.3-2.1.x86_64.rpm
dpkg -i libpng14-14_1.4.3-3.1_amd64.deb
mv /usr/lib64/* /usr/lib

/etc/init.d/apache2 restart
No votes yet.
Please wait...

Leave a comment

10. October 2011 at 21:12 - Software engineering (Tags: , , , , , , ). Both comments and pings are currently closed.

Comments are closed.