For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > October 2007 > Installation









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Installation
Richard Heyes

2007-10-29, 7:02 pm

Hi,

Trying to install PHP, however it's failing with the following:

Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr/lib64
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... no
configure: error: build test failed. Please check the config.log for
details.


The following is in config.log:

configure:20028: checking whether libxml build works
configure:20055: gcc -o conftest -g -O2 conftest.c

-lresolv -lm -ldl -lnsl -lxml2 -lz -lm 1>&5
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
configure: failed program was:
#line 20044 "configure"
#include "confdefs.h"


char xmlInitParser();
int main() {
xmlInitParser();
return 0;
}



If it helps, this is a bit of an `ls -l` of /usr/lib64:

libxml2.so -> libxml2.so.2.6.27
libxml2.so.2 -> libxml2.so.2.6.27
libxml2.so.2.6.19
libxml2.so.2.6.27

Thanks.

--
Richard Heyes
+44 (0)800 0213 172
http://www.websupportsolutions.co.uk

Knowledge Base and HelpDesk software
that can cut the cost of online support
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com