From: brayan at brayanzone dot org Operating system: Debian 3.1r PHP version: 4.4.1 PHP Bug Type: GD related Bug description: Gif function not supported
Description: ------------ I have version of GD - 2.0.33 when supported gif function. at compile php-4.1.1 result for gif is: checking for gdImageCreateFromGif in -lgd... no checking for gdImageGif in -lgd... no in my libs dir, have new files from gd-2.0.33. Expected result: ---------------- configure:36585: checking for gdImageCreateFromGif in -lgd configure:36604: gcc -o conftest -g -O2 -pthread -D_REENTRANT -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-rpath,/usr/lo /tmp/ccwfzY82.o: In function `main': /install4/php-4.4.1/configure:36600: undefined reference to `gdImageCreateFromGif' collect2: ld returned 1 exit status configure: failed program was: #line 36593 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImageCreateFromGif(); int main() { gdImageCreateFromGif() ; return 0; } configure:36716: checking for gdImageGif in -lgd configure:36735: gcc -o conftest -g -O2 -pthread -D_REENTRANT -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-rpath,/usr/lo /tmp/ccyi1Qzq.o: In function `main': /install4/php-4.4.1/configure:36731: undefined reference to `gdImageGif' collect2: ld returned 1 exit status configure: failed program was: #line 36724 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImageGif(); int main() { gdImageGif() ; return 0; } -- Edit bug report at http://bugs.php.net/?id=35903&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35903&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35903&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35903&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=35903&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35903&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35903&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35903&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35903&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35903&r=support Expected behavior: http://bugs.php.net/fix.php?id=35903&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35903&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35903&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35903&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35903&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35903&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35903&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35903&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35903&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35903&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35903&r=mysqlcfg