全新安装出错 请问什么原因
collect2: ld returned 1 exit statusmake[1]: *** [httpd] Error 1
make[1]: Leaving directory `/root/lanmp/httpd-2.2.22'
make: *** [all-recursive] Error 1
----Install Error: apache make err ----------- [size=12px]
[/size]
[size=12px][size=12px]
[/size]
[size=12px]
[/size]
[/size][url=http://www.wdlinux.cn/bbs/thread-243-1-1.html][color=red]多看提问智慧,详细描述问题,环境,版本,错误信息等,能更快得到回复和解答[/color][/url]
[size=3]为什么就看不到红字的字吗?[/size] [b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=4319&ptid=1451]2#[/url] [i]admin[/i] [/b]
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 ----------- 这样看不出问题原因 [b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=4323&ptid=1451]4#[/url] [i]admin[/i] [/b]
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 ----------- yum install -y libxml2-devel [b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=4327&ptid=1451]6#[/url] [i]admin[/i] [/b]
[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:
[url=http://wiki.linux.duke.edu/YumFaq]http://wiki.linux.duke.edu/YumFaq[/url] 怎么会有这样的错误提示,你的系统操作过什么或升级过什么? 我也出现同样的错误,不知道你们怎么解决的我
Centos5.8 32位,郁闷的要死!!!!!!!!!! 解决办法…………
[url]http://www.wdlinux.cn/bbs/thread-2152-1-1.html[/url]
页:
[1]