Installation

From: Date: Mon, 29 Oct 2007 16:43:08 +0000
Subject: Installation
Groups: php.install 
Request: Send a blank email to php-install+get-18326@lists.php.net to get a copy of this message
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

« previous php.install (#18326) next »