freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freetype] where is libttf ? (php-4.0.3pl1, gd-2.0.1 and freetype 2.0.9)


From: Richard NAGY
Subject: [Freetype] where is libttf ? (php-4.0.3pl1, gd-2.0.1 and freetype 2.0.9)
Date: Thu, 28 Mar 2002 12:35:36 +0100

Hello,

I have installed php-4.0.3pl1, gd-2.0.1. Everything was OK.
Afterwards, I have installed freetype 2.0.9 to be able to have TTF in my
GD graphics.
I have compiled freetype successfully. Then, I recompiled gd-2.0.1
successfully. Then, I recompile php ; it failed!!

The error was the following :

(...)
/usr/bin/ld: cannot find -lttf
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/usr/local/php-4.0.3pl1'
make: *** [all-recursive] Error 1

Where does libttf comes from ? 
How can I solve my problem ?

Notes :

LIBS in the gd Makefile was : LIBS=-lgd -lpng -lz -ljpeg -lfreetype -lm
INCLUDEDIRS was : INCLUDEDIRS=-I.
-I/usr/local/include/freetype2/freetype -I/usr/include/X11
-I/usr/X11R6/include/X11 -I/usr/local/include

the configure line for PHP was :

first try :
./configure  --with-pgsql --with-apxs=/usr/local/apache/bin/apxs
--with-xml --with-mysql=/usr/local/mysql --with-msql
--with-gd=/usr/local/src/gd-2.0.1 --with-gettext=/usr/share/gettext
--enable-calendar --enable-dbase --with-imap
--with-jpeg-dir=/usr/local/src/gd-2.0.1

second try :
./configure  --with-pgsql --with-apxs=/usr/local/apache/bin/apxs
--with-xml --with-mysql=/usr/local/mysql --with-msql
--with-gd=/usr/local/src/gd-2.0.1 --with-gettext=/usr/share/gettext
--enable-calendar --enable-dbase --with-imap
--with-jpeg-dir=/usr/local/src/gd-2.0.1
--with-freetype-dir=/usr/local/include/freetype2/freetype
--enable-gd-native-tt --enable-gd-imgstrttf

It regenerates the same error : /usr/bin/ld: cannot find -lttf

Without freetype, everything works well for my gd graphics except that I
do not have TTF fonts in my graphics. But it would be good if I could
have them! And some graphics require them.

Thank you for your help.

--
Richard NAGY
Presenceweb / Nameshield



reply via email to

[Prev in Thread] Current Thread [Next in Thread]