栏目导航
热点推荐
阅览排行
Linux Apache 安装错误信息
www.jz123.cn 2010-09-28 来源: 中国建站 责任编辑(袁袁) 我要投递新闻
今天在centos5.3 64位的机器上编译apache 2.2.6 出现
/usr/lib/libexpat.so: could not read symbols: File in wrong format
解决方案:
1、删除安装目录下的configure文件,在我的环境中是httpd-2.2.6/configure
2、删除“httpd-2.2.6/srclib/apr-util/configure”
3、通过以下命令重建编译文件(以下命令在http-2.2.6/目录下运行)。
#./buildconf
#./configure --enable-lib64 --prefix=/usr/local/apache2 --with-included-apr --enable-so --enable-deflate=shared --enable-expires=shared --enable-rewrite=shared --enable-static-support --disable-userdir
#make && make install
#echo '/usr/local/apache2/bin/apachectl start ' >> /etc/rc.local
上一篇:apache 403错误 处理方法 下一篇:安装apachetop错误