I am unable to get the configure script to complete on my Fedora 8 x86_64
install. The configure command I am using is
./configure --program-prefix= --prefix=/usr --exec-prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec
--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --cache-file=../config.cache
--with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d
--disable-debug --with-pic --disable-rpath --with-bz2 --with-curl
--with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr
--enable-gd-native-ttf --without-gdbm --with-gettext --with-gmp --with-iconv
--with-jpeg-dir=/usr --with-openssl --with-png --with-pspell
--with-expat-dir=/usr --with-pcre-regex=/usr --with-zlib --with-layout=GNU
--enable-exif --enable-ftp --enable-magic-quotes --enable-sockets
--enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-track-vars
--enable-trans-sid --enable-yp --enable-wddx --with-pear=/usr/share/pear
--with-kerberos --enable-ucd-snmp-hack --with-unixODBC=/usr
--enable-memory-limit --enable-shmop --enable-calendar --enable-dbx
--enable-dio --with-mime-magic=/etc/httpd/conf/magic --without-sqlite
--with-libxml-dir=/usr/lib --with-xml --with-mysql
--with-mysqli=/usr/lib/mysql/mysql_config --with-pdo-mysql --with-gd
--with-pdo-odbc=unixODBC,/usr --disable-dom --disable-dba
--with-mssql=/usr/local/freetds --enable-mbstring --enable-soap
--with-xmlrpc --with-libxml-dir=/usr/include/libxml2 --with-ldap
--with-pdo-dblib=/usr/local/freetds --enable-zip --with-fastcgi
--enable-discard-path --enable-force-cgi-redirect
The script bombs out with:
Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr/include/libxml2
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.
Config.log shows the following in the last few lines.
configure:19793: checking whether to enable LIBXML support
configure:19841: checking libxml2 install dir
configure:19870: checking for xml2-config path
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: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/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;
}
Does anyone have any ideas how to make this thing work? I have checked my
paths 100 times and libxml2 along with its course code is indeed installed
on the system.
Thanks!
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]