php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16706 GD shared module not linked w/ libgd.a
Submitted: 2002-04-19 15:16 UTC Modified: 2002-04-21 14:38 UTC
From: hquest at linuxbr dot com dot br Assigned:
Status: Closed Package: GD related
PHP Version: 4.1.2 OS: Linux
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: hquest at linuxbr dot com dot br
New email:
PHP Version: OS:

 

 [2002-04-19 15:16 UTC] hquest at linuxbr dot com dot br
From PHP error log:

PHP Warning:  Unable to load dynamic library '/usr/lib/php/extensions/gd.so' - /usr/lib/php/extensions/gd.so: undefined symbol: gdImageCreateFromWBMP in Unknown on line 0

Possible solution (worked here): After ./configure, hand edited ext/gd/libs.mk and inserted -lgd in "link" step of module compilation.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-19 22:09 UTC] sniper@php.net
Did you search the bug database before submitting this report?

Anyway, you propably have two or more different versions
of GD in your system and as the GD does not have any working
way to find out what the version of the library is and what
it actually supports, you need to make sure you only have the one library and the correct header files for it in your
system with which you wish to compile PHP with.

Try removing every instance of libgd.* and gd.h in your system and reinstall the correct version.

 [2002-04-21 05:32 UTC] hquest at linuxbr dot com dot br
yes but didn't found anything, sorry if this was already posted.

i don't have any gd version installed, i use a temporary one to compile php. as the source tgz gd package compile  only as a static lib, i recompile it everytime and use this temp dir to link in php. have tried w/ 1.8.4 and 1.8.6 gd, and both worked only w/ a links.mk change.
 [2002-04-21 14:38 UTC] sniper@php.net
reopen if this happens with PHP 4.2.0 (released tomorrow)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 13:01:29 2024 UTC