文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>[转载]FC6 Centos 5 64位安装httpd-2.2.4出错 ..

[转载]FC6 Centos 5 64位安装httpd-2.2.4出错 ..

时间:2007-04-25  来源:zhangzhu1984

来自 http://blog.sina.com.cn/u/53a964b9010008i2


# tar -jxvf httpd-2.2.3.tar.bz2
# cd httpd-2.2.3
# ./configure LDFLAGS="-L/usr/lib64 -L/lib64" --enable-so --enable-rewrite --enable-cgi
# vi ./srclib/apr-util/Makefile


APRUTIL_LIBS = -lsqlite3 /usr/lib/libexpat.la /root/tar/httpd-2.2.3/srclib/apr/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl
改为
APRUTIL_LIBS = -lsqlite3 /usr/lib64/libexpat.la /root/tar/httpd-2.2.3/srclib/apr/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl

# make
# make install
# cd /usr/local/apache2/
# ./bin/apachectl -k start

在浏览器中输入
http://127.0.0.1/
如果能够看到
It works!
则表示安装成功

参考地址:
http://www.mail-archive.com/[email protected]/msg24675.html

/usr/lib/libexpat.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [libaprutil-1.la] 错误 1
make[3]: Leaving directory `/root/tar/httpd-2.2.3/srclib/apr-util'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/root/tar/httpd-2.2.3/srclib/apr-util'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/tar/httpd-2.2.3/srclib'
make: *** [all-recursive] 错误 1
相关阅读 更多 +
排行榜 更多 +
僵尸猎手小明

僵尸猎手小明

动作格斗 下载
狩猎波比

狩猎波比

动作格斗 下载
花海相机

花海相机

图像拍照 下载