#35111 [NEW]: Compile fails for GD Library
From: elik at hostforweb dot com
Operating system: CentOS 4.2 x86_64
PHP version: 4.4.1
PHP Bug Type: Compile Failure
Bug description: Compile fails for GD Library
Description:
------------
Greetings,
It seems the bug came back in 4.4.1 that was not in 4.4.0 for compiling
the libjpeg, libpng into PHP dispite it been symblinked into the /usr/lib
from /usr/lib64.
checking for GD support... yes
checking for the location of libjpeg... /usr
checking for the location of libpng... /usr
checking for the location of libXpm... /usr/X11R6
checking for FreeType 1.x support... yes
checking for FreeType 2... /usr
checking for T1lib support... no
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... no
checking for floorf... no
checking for jpeg_read_header in -ljpeg... no
configure: error: Problem with libjpeg.(a|so). Please check config.log for
more information.
Directory Listing:
root@amd [/usr/lib]# ls -la libjpeg* libpng*
lrwxrwxrwx 1 root root 18 Nov 5 07:15 libjpeg.a -> ../lib64/libjpeg.a
lrwxrwxrwx 1 root root 19 Nov 5 07:15 libjpeg.la ->
../lib64/libjpeg.la*
lrwxrwxrwx 1 root root 19 Nov 5 07:15 libjpeg.so ->
../lib64/libjpeg.so*
lrwxrwxrwx 1 root root 22 Nov 5 07:22 libjpeg.so.62 ->
../lib64/libjpeg.so.62*
lrwxrwxrwx 1 root root 26 Nov 5 07:22 libjpeg.so.62.0.0 ->
../lib64/libjpeg.so.62.0.0*
lrwxrwxrwx 1 root root 19 Nov 5 07:49 libpng12.a -> ../lib64/libpng12.a
lrwxrwxrwx 1 root root 20 Nov 5 07:49 libpng12.so ->
../lib64/libpng12.so*
lrwxrwxrwx 1 root root 9 Nov 5 07:42 libpng12.so.0 -> libpng.so*
lrwxrwxrwx 1 root root 28 Nov 5 07:49 libpng12.so.0.1.2.7 ->
../lib64/libpng12.so.0.1.2.7*
lrwxrwxrwx 1 root root 17 Nov 5 07:16 libpng.a -> ../lib64/libpng.a
lrwxrwxrwx 1 root root 18 Nov 5 07:16 libpng.so -> ../lib64/libpng.so*
lrwxrwxrwx 1 root root 20 Nov 5 07:49 libpng.so.3 ->
../lib64/libpng.so.3*
lrwxrwxrwx 1 root root 26 Nov 5 07:49 libpng.so.3.1.2.7 ->
../lib64/libpng.so.3.1.2.7*
Reproduce code:
---------------
config.nice
LDFLAGS='-L/usr/X11R6/lib64 -lstdc++' \
'./configure' \
'--with-pic' \
'--with-prefix=/usr' \
'--with-xml' \
'--enable-bcmath' \
'--enable-calendar' \
'--with-curl' \
'--with-dom' \
'--enable-xslt' \
'--with-dom-xslt' \
'--with-dom-exslt' \
'--with-xslt-sablot' \
'--enable-exif' \
'--enable-ftp' \
'--with-gd' \
'--with-jpeg-dir=/usr' \
'--with-png-dir=/usr' \
'--with-xpm-dir=/usr/X11R6' \
'--with-gettext' \
'--with-imap' \
'--with-imap-ssl' \
'--with-kerberos' \
'--enable-mbstring' \
'--enable-mbstr-enc-trans' \
'--enable-mbregex' \
'--with-mcrypt' \
'--with-mhash' \
'--enable-magic-quotes' \
'--with-mysqli' \
'--with-openssl' \
'--enable-discard-path' \
'--enable-sockets' \
'--enable-track-vars' \
'--with-ttf' \
'--enable-gd-native-ttf' \
'--with-freetype-dir=/usr' \
'--enable-wddx' \
'--with-zip' \
'--with-zlib' \
'--with-bz2' \
'--enable-dba' \
'--with-flatfile' \
'--with-pspell' \
'--with-tsrm-pthreads' \
'--with-mm' \
'--enable-sysvmsg' \
'--enable-sysvsem' \
'--enable-sysvshm' \
"$@"
Expected result:
----------------
Expected the code to compile all the way.
--
Edit bug report at http://bugs.php.net/?id=35111&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35111&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35111&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35111&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=35111&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35111&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35111&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35111&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35111&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35111&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35111&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35111&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35111&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35111&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35111&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35111&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35111&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35111&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35111&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35111&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35111&r=mysqlcfg
Thread (4 messages)
- elik at hostforweb dot com