I'm not able to compile freetype support in php...
My configure command is:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --enable-bcmath
--enable-zip --with-zlib --with-gd --with-jpeg-dir=/usr/lib --with-mysqli
--enable-mbstring --with-pdo-mysql --with-pgsql=/usr/lib/pgsql
--with-freetype-dir=/usr/lib --enable-gd-native-ttf
and it runs fine (doesn't complain about anything), compilation is succesful too, but in the end freetype support is not enabled:
["GD Version"]=> string(27) "bundled (2.0.34 compatible)"
["FreeType Support"]=> bool(false)
["T1Lib Support"]=> bool(false)
/usr/lib looks like the right place to look for freetype:
# pwd
/usr/lib
# ll|grep -i freetype
lrwxrwxrwx 1 root root 21 Dec 10 13:35 libfreetype.so -> libfreetype.so.6.3.10
lrwxrwxrwx 1 root root 21 Dec 10 13:35 libfreetype.so.6 -> libfreetype.so.6.3.10
-rwxr-xr-x 1 root root 525448 Nov 16 17:55 libfreetype.so.6.3.10
OS is Centos Linux 5, php version is 5.2.17.
Any hints? Thanks!
config.logwould show why it isn't detecting freetype. – Mark Wagner May 16 '11 at 16:33