Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199903

RE: [PHP3] Freetype support Horrors From: Al Brown (abrown <email protected>)
Date: 03/11/99

Edit /etc/ld.so.conf and add /usr/local/lib to it. Run /sbin/ldconfig.
That will make sure the linker knows that gd is in /usr/local/lib.

(I do assume that you are running some type of linux system, or atleast a
machine with GNU tools)

-Al

-----Original Message-----
From: Shawn Patton [mailto:Shawn <email protected>]
Sent: Thursday, March 11, 1999 11:59 AM
To: php3 list
Cc: Shawn Patton
Subject: [PHP3] Freetype support Horrors

Hello,

When trying to get php to recognize freetype I get the following
checking errors:

checking whether to include GD support... yes
checking for gdImageString16 in -lgd... yes
checking for TT_Open_Face in -lttf... no

One problem is that PHP does not recognize GD unless I point to the
/usr/local directory ( and not the default: /usr )
( libgd.a is in /usr/local/lib )

I've also tried numerous path structures including copying
 libttf.a , libttf.la and even libgd.a to /usr/lib

...and also linking /usr/lib to /usr/local/lib

... and also passing the include flag:
env CPPFLAGS=-I/usr/lib

Would anyone have any ideas?

Thanks in advance,

Shawn Patton

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:
http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>

-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev-list-admin <email protected>