From: bofh at null-route dot org Operating system: Linux 2.6.11 PHP version: 4.4.0RC1 PHP Bug Type: Compile Failure Bug description: configure fails on detecting libpng
Description: ------------ ./configure is run with "--with-png-dir=/usr" as an option. succeeds on: checking for png_write_image in -lpng... yes FAILS on: checking for png_create_info_struct in -lpng... no Stringing libpng.so and grep'ing for info_struct shows that it exists. # strings /usr/lib/libpng.so | grep info_struct png_create_info_struct png_destroy_info_struct png.h has the appropriate includes: # strings /usr/include/png.h | grep [create|destroy]_info_struct extern PNG_EXPORT(png_infop,png_create_info_struct) extern PNG_EXPORT(void,png_destroy_info_struct) PNGARG((png_structp png_ptr, ldconfig verifies that it knows where to find libpng. # ldconfig -p | grep png libpng10.so.0 (libc6) => /usr/lib/libpng10.so.0 libpng10.so (libc6) => /usr/lib/libpng10.so libpng.so.3 (libc6) => /usr/lib/libpng.so.3 libpng.so (libc6) => /usr/lib/libpng.so I have tried PHP versions: 4.3.10, 4.3.11, and 4.4.0RC1. All give the same error. I have also tried libpng versions: 1.0.17, 1.0.18, 1.2.7 and 1.2.8 with each of the above PHP versions. Same thing each time. -- Edit bug report at http://bugs.php.net/?id=33509&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33509&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33509&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33509&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33509&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33509&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33509&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33509&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33509&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33509&r=support Expected behavior: http://bugs.php.net/fix.php?id=33509&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33509&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33509&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33509&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33509&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33509&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33509&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33509&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33509&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33509&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33509&r=mysqlcfg