When compiling Apache I get:

modules/php4/libphp4.a(gd.o): In function `php_imagettftext_common':
/usr/src/apache/php4-200104131045/ext/gd/gd.c:2667: undefined reference to
`gdttf'

Brian Moon
Phorum Dev Team - Making better forums with PHP
http://phorum.org/
-------------------------------------------------------------------------

----- Original Message -----
From: "Wez Furlong" <[EMAIL PROTECTED]>
To: "Brian Moon" <[EMAIL PROTECTED]>
Sent: Friday, April 13, 2001 5:42 AM
Subject: Re: [PHP-DEV] GD 2.0.1 and FreeType 2


> Hi Brian,
>
> > A) has anyone tried PHP and gd 2.0.1?
> Yes - me.
>
> > B) If I compile gd with FreeType 2 support, do I have to compile
FreeType
> > into PHP?
> PHP needs to be linked to any and all libraries that are used by those
libraries that you use, if you get my meaning!
> If gd has a dependency on freetype, then anything that uses that gd
library will need to be linked to freetype as well.
>
> I've attached a patch that takes care of this and enables the true color
and alpha channel code, plus a handful of line style and image brush/tile
options that have so far been missing from PHP.
>
>
./configure --with-ttf=no --with-freetype-dir --with-png-dir --with-jpeg-dir
 --with-gd
>
> The --with-ttf=no is there to prevent linking against the libttf if it is
installed.
>
> Please let me know how you get on with this!
>
> --Wez.
>
>


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to