From: matt at azoogleads dot com Operating system: RHEL 4 ES/x86_64 PHP version: 4.4.0 PHP Bug Type: PHP options/info functions Bug description: configure: error: libjpeg.(a|so) not found.
Description: ------------ I'm having the same problem described in Bug #32369, where I'm trying to compile JPEG support into 4.4.0 on RHEL 4 ES/x86_64 and although the location of libjpeg is detected (see below), and both libjpeg.so and libjpeg.a files exist under /usr/lib64, the configure script terminates with the error "configure: error: libjpeg.(a|so) not found." This also seem to occur with PHP 4.3.11. <configure snip> checking for GD support... yes checking for the location of libjpeg... yes checking for the location of libpng... no checking for the location of libXpm... no checking for FreeType 1.x support... no checking for FreeType 2... yes checking for T1lib support... no checking whether to enable truetype string function in GD... no checking whether to enable JIS-mapped Japanese font support in GD... no checking for fabsf... yes checking for floorf... yes configure: error: libjpeg.(a|so) not found. </configure snip> Specifying "--with-jpeg-dir=/usr" or "--with-jpeg-dir=/usr/lib64" doesn't fix the problem. Reproduce code: --------------- ./configure --with-mysql=/usr \ --with-apxs2=/usr/local/apache2/bin/apxs \ --with-zlib \ --with-ftp \ --with-gd \ --with-jpeg-dir \ --with-freetype-dir \ --enable-pcntl \ --with-openssl --with-curl \ --with-dom \ Actual result: -------------- The location of libjpeg will be detected, however the configure script will terminate with the error "configure: error: libjpeg.(a|so) not found." -- Edit bug report at http://bugs.php.net/?id=33685&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33685&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33685&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33685&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33685&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33685&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33685&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33685&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33685&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33685&r=support Expected behavior: http://bugs.php.net/fix.php?id=33685&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33685&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33685&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33685&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33685&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33685&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33685&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33685&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33685&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33685&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33685&r=mysqlcfg