#35903 [Opn->Bgs]: Gif function not supported

From: Date: Thu, 05 Jan 2006 11:51:58 +0000
Subject: #35903 [Opn->Bgs]: Gif function not supported
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-91539@lists.php.net to get a copy of this message
ID: 35903 Updated by: sniper@php.net Reported By: brayan at brayanzone dot org -Status: Open +Status: Bogus Bug Type: GD related Operating System: Debian 3.1r PHP Version: 4.4.1 New Comment: Obviously your external gd lib does NOT have gif support. Just use the bundled library. It's much safer. Previous Comments: ------------------------------------------------------------------------ [2006-01-05 12:50:37] brayan at brayanzone dot org 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 this bug report at http://bugs.php.net/?id=35903&edit=1

« previous php.bugs (#91539) next »