I am trying to install php5 on suse 9.3 but whenever I run configure it gives me strange error relating to libxml2. I have install libxml, libxml-devel, libxml2, libxml2-devel all new verion but I get the same error again again and again..... and whn I try to disable xml in configure with --disable-xml it gives me a error sayin DOM requires XML kindly enable it, fine I require xml support to but.. here is the error dat I get whn I m runnin ./configure --with-mysql --with-apxs2 --with--curl
configure:19431: checking whether to explicitly link against libgcc
configure:19510: checking whether to enable short tags by default
configure:19547: checking whether to enable dmalloc
configure:19635: checking whether to enable IPv6 support
configure:19665: checking how big to make fd sets
configure:19685: checking whether to enable versioning
configure:19733: checking whether to enable LIBXML support
configure:19780: checking libxml2 install dir
configure:19809: checking for xml2-config path
configure:19966: checking whether libxml build works
configure:19993: gcc -o conftest -g -O2 conftest.c
-lresolv -lm -ldl -lnsl -lxml2 -lz -lm 1>&5
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libxml2.so when searching for -lxml2
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libxml2.a when searching for -lxml2
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: cannot find -lxml2
collect2: ld returned 1 exit status
configure: failed program was:
#line 19982 "configure"
#include "confdefs.h"
char xmlInitParser();
int main() {
xmlInitParser();
return 0;
}