fastson 发表于 2012-4-11 05:39:58

apache.sh中apache编译时应该增加一个 --with-expat=builtin

也就是
./configure --prefix=/usr/local/apache --with-expat=builtin --enable-headers --enable-mime-magic --enable-proxy --enable-so --enable-rewrite --enable-ssl --enable-suexec --disable-userdir --with-included-apr --with-mpm=prefork --with-ssl=/usr --disable-userdir --disable-cgid --disable-cgi

这样子,在centos/red hat 64位上就不会出现/usr/lib/libexpat.so: could not read symbols: File in wrong format这个错误了


论坛上有些人反映apache装好以后出错什么的,可能就是这个原因

licess 发表于 2012-4-11 11:17:34

测试过一些vps的模板还没遇到过这个情况
你的是哪家的?

fastson 发表于 2012-4-18 09:31:20

万网的翔云主机,试过RHEL5.4_x64和CentOS5.4_x64,在编译apache的时候都会出现这个错误
页: [1]
查看完整版本: apache.sh中apache编译时应该增加一个 --with-expat=builtin