Re: Re: problems with imagettftext()
| From: | Frank Schlicht | Date: | Tue, 25 Feb 2003 20:32:00 +0000 |
| Subject: | Re: Re: problems with imagettftext() | ||
| References: | 1 2 3 4 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10192@lists.php.net to get a copy of this message | ||
Hi Jonas,
>>> You need to compile php with gd and freetype support
>>>I also compiled gd with freetype support but not sure if that was needed
>>>check out http://kemu.ath.cx/info.php to see how I
>>>compiled php with gd
>>>and freetype support
I hope you can help me again. During a make I get the error:
ext/gd/gd.o: In function `php_imagettftext_common':
/usr/local/src/php/ext/gd/gd.c:2940: undefined reference to `gdImageStringFTEx'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
I think, the option "--with-freetype-dir=..." raises the error,
because without this option the compilation works fine.
Thanks
Frank