#33740 [NEW]: Configure fails on libpng
| From: | juha at mobilememoir dot com | Date: | Mon, 18 Jul 2005 04:37:08 +0000 |
| Subject: | #33740 [NEW]: Configure fails on libpng | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-82006@lists.php.net to get a copy of this message | ||
From: juha at mobilememoir dot com
Operating system: SUSE 9.3 Professional
PHP version: 4.4.0
PHP Bug Type: *Compile Issues
Bug description: Configure fails on libpng
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 bug report at http://bugs.php.net/?id=33740&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33740&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33740&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33740&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33740&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33740&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33740&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33740&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33740&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33740&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33740&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=33740&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=33740&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33740&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33740&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33740&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33740&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33740&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33740&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33740&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33740&r=mysqlcfg