Board logo

标题: [求助] 全新安装出错 请问什么原因 [打印本页]

作者: qazkkl    时间: 2012-3-5 22:44     标题: 全新安装出错 请问什么原因

collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/root/lanmp/httpd-2.2.22'
make: *** [all-recursive] Error 1

----Install Error: apache make err -----------
作者: admin    时间: 2012-3-5 23:19







多看提问智慧,详细描述问题,环境,版本,错误信息等,能更快得到回复和解答


为什么就看不到红字的字吗?
作者: qazkkl    时间: 2012-3-5 23:24

回复 2# admin

Centos 5.7

全新安装lanmp v2.2.1,详细按照官方教程安装,最后一步出现下面的错误

collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/root/lanmp/httpd-2.2.22'
make: *** [all-recursive] Error 1
----Install Error: apache make err -----------
作者: admin    时间: 2012-3-5 23:36

这样看不出问题原因
作者: qazkkl    时间: 2012-3-5 23:58

回复 4# admin


   
Configuring extensions
checking size of long... (cached) 4
checking size of int... (cached) 4
checking for int32_t... (cached) yes
checking for uint32_t... (cached) yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... (cached) yes
checking for atoll... (cached) yes
checking for strftime... (cached) yes
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path... (cached) /usr/local/bin/xml2-config
configure: error: xml2-config not found. Please check your libxml2 installation.

----Install Error: wdphp configure err -----------
作者: admin    时间: 2012-3-6 00:32

yum install -y libxml2-devel
作者: qazkkl    时间: 2012-3-6 00:40

回复 6# admin


   
[root@localhost ~]# yum install -y libxml2-devel
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
   libxml2.so.2: cannot open shared object file: No such file or directory
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.4.3 (#1, Sep 21 2011, 20:06:00)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-51)]
If you cannot solve this problem yourself, please go to
the yum faq at:
  http://wiki.linux.duke.edu/YumFaq
作者: admin    时间: 2012-3-6 08:51

怎么会有这样的错误提示,你的系统操作过什么或升级过什么?
作者: guzuomuse    时间: 2012-5-16 03:46

我也出现同样的错误,不知道你们怎么解决的我

Centos5.8 32位,郁闷的要死!!!!!!!!!!
作者: guzuomuse    时间: 2012-5-16 11:30

解决办法…………

http://www.wdlinux.cn/bbs/thread-2152-1-1.html




欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) Powered by Discuz! 7.2