From: [EMAIL PROTECTED] Operating system: Solaris 8 PHP version: 4.3.0 PHP Bug Type: Compile Failure Bug description: 'configure' script can't find libpng.(a|so), openldap...
./configure from the 4.3.0 release contains constructs like: for i in /usr /usr/local $PHP_PNG_DIR; do test -f $i/lib/libpng.$SHLIB_SUFFIX_NAME -o -f \ $i/lib/libpng.a && GD_PNG_DIR=$i done The 'lib/libpng.' bit is hard-coded. But my libpng is at /usr/local/lib/sparcv9/libpng.so The end of configure's output is: checking for the location of libpng... yes checking for the location of libXpm... yes checking for FreeType 1.x support... yes checking for FreeType 2... yes checking for T1lib support... yes checking whether to enable truetype string function in GD... yes checking for fabsf... no checking for floorf... no If configure fails try --with-jpeg-dir=<DIR> configure: error: libpng.(a|so) not found. as a user of PHP4, this message does not help me help myself because: - it already said it found libpng. - it says 'try --with-jpeg-dir' yet the error is for PNG. I was able to work around this by manually hacking configure on a one-off basis. However, it then can't find other libraries, like OpenLDAP, because it again has hard-coded paths. I was hoping that PHP 4.3.0 had some semblence of 64-bit clean-ness in its code after its disasterous run of pre-releases, but I can't even get that far since it won't configure under a multi-mode environment such as Solaris/UltraSPARC. Presumably it would have similar trouble with HP and SGI systems. --end-- -- Edit bug report at http://bugs.php.net/?id=21973&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21973&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21973&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21973&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21973&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21973&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21973&r=support Expected behavior: http://bugs.php.net/fix.php?id=21973&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21973&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21973&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21973&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21973&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21973&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21973&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21973&r=gnused