64位centos 编译 libxml2问题

httpd: Syntax error on line 57 of /etc/httpd/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/libxml2/lib/libxml2.so.2: symbol gzopen64, version ZLIB_1.2.3.3 not defined in file libz.so.1 with link time reference



64位centos(系统已安装zlib1.2.3)  
编译安装libxml2.7.8指定 加载zlib1.2.5库的路径(自己编译) 
但安装后libxml2.so.2 关联库的zlib确是/usr/lib64/libz.so.1

作者: yangyingjieokok12   发布时间: 2011-03-18

在环境变量LD_LIBRARY_PATH中,把zlib1.2.5库文件路径放在zlib1.2.3的前面

作者: yui   发布时间: 2011-03-18