LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 606|回复: 1

装php的时候提示没libpng

[复制链接]
发表于 2005-1-20 20:13:07 | 显示全部楼层 |阅读模式
configure: error: libpng.(a|so) not found.
我用的参数是:
./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --enable-force-cgi-redirect --with-freetype-dir=/usr --with-png-dir=/usr --with-gd --enable-gd-native-ttf --with-ttf --with-gdbm --with-gettext --with-iconv --with-jpeg-dir=/usr --with-png --with-zlib --with-xml --enable-calendar --with-apxs=/usr/local/apache/bin/apxs

本机上libpng的版本是libpng-1.2.2-16
请问这两个文件那个软件包里有
发表于 2005-1-21 09:31:29 | 显示全部楼层
在装个libpng-devel。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表