Bug #13172 Updated: Undefined symbol: gdImageStringFT
ID: 13172
Updated by: sniper
Reported By: wirtz@web-active.com
Old Status: Open
Status: Closed
Bug Type: GD related
Operating System: RedHat 7.1 linux-2.4.9ac7
PHP Version: 4.0CVS-2001-09-06
New Comment:
Fixed in CVS.
Previous Comments:
------------------------------------------------------------------------
[2001-09-06 12:18:40] wirtz@web-active.com
Jani, I do know how to reestablish a pristine environment
for a recompile after I encountered an error. I usually
use make distclean :-/
from the main/php_config.h:
/* #undef HAVE_GD_STRINGFTEX */
Regards,
Eru
------------------------------------------------------------------------
[2001-09-06 12:01:20] sniper@php.net
Also this might have some effect:
# rm config.cache
# ./configure <with correct options, without /lib in paths..>
# make clean ; make
--Jani
------------------------------------------------------------------------
[2001-09-06 11:59:33] sniper@php.net
So is HAVE_GD_STRINGFTEX defined in your php_config.h or not?
--Jani
------------------------------------------------------------------------
[2001-09-06 11:32:19] wirtz@web-active.com
No, this is not the problem. The defines are messed up and I know this precisely, because the
compiler gives me a
gd.c: In function `php_imagettftext_common':
gd.c:2751: warning: implicit declaration of function `gdImageStringFT'
gd.c:2751: warning: assignment makes pointer from integer without a cast
when the patch is not applied. Changing the paths for the configure does not change this. As you can
see by the output of the configure, alls relevant libraries are found by the script. The HAVE_*
defines are set correctly, I had a look at the php_config.h. I don't have the StringFTEx in my
libgd, I checked it.
------------------------------------------------------------------------
[2001-09-06 11:15:11] sniper@php.net
By using the correct paths with the configure options
would most likely give you working PHP..
(hint: leave the /lib part out of the paths)
Ask further support questions on the mailing lists:
http://www.php.net/support.php
(read archives first)
--Jani
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=13172
Edit this bug report at http://bugs.php.net/?id=13172&edit=1
Thread (9 messages)