Hi,
I am trying to install php 5 (compiling from source) but get the following error during the ./configure step:
-lresolv -lm -ldl -lnsl -lxml2 -lz -lm 1>&5
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../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.4/../../../../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.4/../../../../x86_64-suse-linux/bin/ld: cannot find -lxml2
collect2: ld returned 1 exit status
configure: failed program was:
#line 18580 "configure"
#include "confdefs.h"
I have checked YAST2 and libxml2 2.6.12-3 is installed.
I have also installed (thru YAST2) the libxml2-devel package (v2.6.12-3.4)
I have also installed apache2 (compiled from source)
I'd appreciate some help as I am keen to get on and check out php