Bug #16706 Updated: GD shared module not linked w/ libgd.a
| From: | sniper@php.net | Date: | Sun, 21 Apr 2002 18:38:04 +0000 |
| Subject: | Bug #16706 Updated: GD shared module not linked w/ libgd.a | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-5519@lists.php.net to get a copy of this message | ||
ID: 16706
Updated by: sniper@php.net
Reported By: hquest@linuxbr.com.br
-Status: Open
+Status: Closed
Bug Type: GD related
Operating System: Linux
PHP Version: 4.1.2
New Comment:
reopen if this happens with PHP 4.2.0 (released tomorrow)
Previous Comments:
------------------------------------------------------------------------
[2002-04-21 05:32:03] hquest@linuxbr.com.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-19 22:09:32] 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-19 15:16:09] hquest@linuxbr.com.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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16706&edit=1