Chinaunix

标题: <<LINUX+GD+PHP5安装时出现的古怪问题>> [打印本页]

作者: teacherlxj    时间: 2004-11-02 13:44
标题: <<LINUX+GD+PHP5安装时出现的古怪问题>>
ext/gd/gd.lo(.text+0x6aa): In function `zm_deactivate_gd':
/data/php-5.0.2/ext/gd/gd.c:453: undefined reference to `gdFreeFontCache'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
======================
安装php5时出现在的问题,
机器环境:
   RedHat EL3 + GD2.0.32 + php5.0.2
GD安装成功,  /usr/local/gd

PHP5配置:
./configure --prefix=/usr/local/php5
--with-apxs2=/usr/local/apache/bin/apxs
--with-gd=/usr/local/gd

通过configure, make时出现最上边的错误,

系统环境:
rpm -q freetype
freetype-2.1.4-4.0

rpm -q libpng
libpng-1.2.2-16

rpm -q libjpeg
libjpeg-6b-30

rpm -q zlib
zlib-1.1.4-8.1


哪位能告诉我哪里出错了?




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2