ID: 33740 Updated by: [EMAIL PROTECTED] Reported By: juha at mobilememoir dot com -Status: Open +Status: Wont fix Bug Type: *Compile Issues Operating System: SUSE 9.3 Professional PHP Version: 4.4.0 New Comment:
You need to make symlinks for this, this is addressed in PHP 5+, but will no tbe backported to PHP 4.4. Previous Comments: ------------------------------------------------------------------------ [2005-07-18 06:37:06] juha at mobilememoir dot com Description: ------------ The PHP configure script will not find libpng. The same configure line works fine in 32-bit Redhat. I am running SUSE x64 Professional where all the libs are placed into /usr/lib64 folder. It looks like PHP is trying to get em from /usr/local/lib folder instead. Reproduce code: --------------- ./php-4.4.0/configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-imap=/usr/local/imap-2004a --with-gd=/usr/lib64 --with-png-dir=/usr/lib64 --with-jpeg-dir=/usr/lib64/ --with-zlib-dir=/usr/lib64 --enable-gd-native-ttf --with-freetype-dir=/usr/include/freetype2 Expected result: ---------------- No configure error. Actual result: -------------- configure: error: libpng.(a|so) not found. Libpng is in /usr/lib64 folder, see below: kuhazor:/usr/lib64 # ls -alF | grep libpng -rw-r--r-- 1 root root 307756 2005-03-19 13:30 libpng12.a lrwxrwxrwx 1 root root 13 2005-07-17 21:05 libpng12.so -> libpng12.so.0* lrwxrwxrwx 1 root root 19 2005-07-17 21:05 libpng12.so.0 -> libpng12.so.0.1.2.8* -rwxr-xr-x 1 root root 182648 2005-03-19 13:30 libpng12.so.0.1.2.8* lrwxrwxrwx 1 root root 10 2005-07-17 21:05 libpng.a -> libpng12.a lrwxrwxrwx 1 root root 11 2005-07-17 21:05 libpng.so -> libpng.so.3* lrwxrwxrwx 1 root root 17 2005-07-17 21:05 libpng.so.3 -> libpng.so.3.1.2.8* -rwxr-xr-x 1 root root 182648 2005-03-19 13:30 libpng.so.3.1.2.8* ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33740&edit=1