php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35903 Gif function not supported
Submitted: 2006-01-05 12:50 UTC Modified: 2006-01-05 12:51 UTC
From: brayan at brayanzone dot org Assigned:
Status: Not a bug Package: GD related
PHP Version: 4.4.1 OS: Debian 3.1r
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: brayan at brayanzone dot org
New email:
PHP Version: OS:

 

 [2006-01-05 12:50 UTC] 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; }


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-05 12:51 UTC] sniper@php.net
Obviously your external gd lib does NOT have gif support.
Just use the bundled library. It's much safer.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 14 12:01:32 2024 UTC