Anon
08-04-2002, 09:42 PM
Hello,
I've been trying to compile PHP with GD support for about a week now. I thought the other night I had it, it was working, but no true type font support, so back to square one.
I've tried both GD 1.8.4 and GD 2.0.1.
I've installed the newest freetype, jpeg, and png.
Here's my PHP configure command, maybe someone can see something I'm doing wrong.
./configure \
--with-apxs=/tmp/apxs \
--with-mysql \
--with-ftp \
--enable-versioning \
--enable-track-vars=yes \
--with- gd=/home/sites/home/users/admin/gd2.0.1 \
--with-freetype-dir=/usr/local/lib \
--enable-gd-native-ttf \
--enable-gd-imgstrttf \
--with-jpeg-dir=/usr/local/bin \
--with-png-dir=/usr/local/lib \
--with-zlib
The configuration works, but it tells me to check the debug.log because there may be a problem. This is what the log file says:
/usr/local/lib/libfreetype.so: undefined reference to `pshinter_module_class'
/usr/local/lib/libfreetype.so: undefined reference to `tt_driver_class'
/usr/local/lib/libfreetype.so: undefined reference to `pcf_driver_class'
/usr/local/lib/libfreetype.so: undefined reference to `pfr_driver_class'
There is about 10 more such undefined errors.
What is happening here? Please help :)
I've been trying to compile PHP with GD support for about a week now. I thought the other night I had it, it was working, but no true type font support, so back to square one.
I've tried both GD 1.8.4 and GD 2.0.1.
I've installed the newest freetype, jpeg, and png.
Here's my PHP configure command, maybe someone can see something I'm doing wrong.
./configure \
--with-apxs=/tmp/apxs \
--with-mysql \
--with-ftp \
--enable-versioning \
--enable-track-vars=yes \
--with- gd=/home/sites/home/users/admin/gd2.0.1 \
--with-freetype-dir=/usr/local/lib \
--enable-gd-native-ttf \
--enable-gd-imgstrttf \
--with-jpeg-dir=/usr/local/bin \
--with-png-dir=/usr/local/lib \
--with-zlib
The configuration works, but it tells me to check the debug.log because there may be a problem. This is what the log file says:
/usr/local/lib/libfreetype.so: undefined reference to `pshinter_module_class'
/usr/local/lib/libfreetype.so: undefined reference to `tt_driver_class'
/usr/local/lib/libfreetype.so: undefined reference to `pcf_driver_class'
/usr/local/lib/libfreetype.so: undefined reference to `pfr_driver_class'
There is about 10 more such undefined errors.
What is happening here? Please help :)