From: fev at ukrti dot com dot ua Operating system: Red Hat 7.3 with kernel 2.4.3 PHP version: 4.3.8 PHP Bug Type: Compile Failure Bug description: Compile Failure with external gd 2.0.28
Description: ------------ When i try compile php 4.3.8 with external GD library 2.0.28 (with support GIF read, create) compiling hasn't done. It stopped when find fuction like óreateGIF in the gd 2.0.28. Reproduce code: --------------- ./configure --with-mysql=/usr/local/mysql --with-mysql-sock=/usr/local/mysql/mysql.sock --with-zlib=/usr/local --with-openssl=/usr/local/ssl --with-curl=/usr/local --with-gd=/usr/local/gd2 --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-ttf --with-freetype-dir=/usr/local/freetype2 --enable-gd-native-ttf --with-gettext --enable-calendar --enable-ftp --enable-sockets Expected result: ---------------- ..... ext/gd/gd.o(.text+0x3639): In function `zif_imagecreatefromstring': /src/php/php-4.3.8/ext/gd/gd.c:1336: undefined reference to `gdImageCreateFromGifCtx' ext/gd/gd.o(.text+0x3a52): In function `zif_imagecreatefromgif': /src/php/php-4.3.8/ext/gd/gd.c:1492: undefined reference to `gdImageCreateFromGif' ext/gd/gd.o(.text+0x3a5c):/src/php/php-4.3.8/ext/gd/gd.c:1492: undefined reference to `gdImageCreateFromGifCtx' ext/gd/gd.o(.text+0x4392): In function `zif_imagegif': /src/php/php-4.3.8/ext/gd/gd.c:1727: undefined reference to `gdImageGifCtx' ext/gd/gd.o(.text+0xade4): In function `_php_image_convert': /src/php/php-4.3.8/ext/gd/gd.c:3741: undefined reference to `gdImageCreateFromGif' collect2: ld returned 1 exit status make: *** [sapi/cgi/php] Error 1 -- Edit bug report at http://bugs.php.net/?id=29627&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29627&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29627&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29627&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29627&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29627&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29627&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29627&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29627&r=support Expected behavior: http://bugs.php.net/fix.php?id=29627&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29627&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29627&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29627&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29627&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29627&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29627&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29627&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29627&r=float