Hi,
I'm working on getting bwm-tools configured on Centos 5.2.
The configure script says:
*** Could not run libxml test program, checking why...
*** The test program failed to compile or link. See the file config.log
config.log says:
configure:23594: gcc -o conftest -g -02 -I/usr/include/libxml2
conftest.c -lxml2 -lz -lm >&5
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incmopatible /usr/lib/libz.a when searching for -lz
/usr/bin/lid: cannot find -lz
collect2: ld returned 1 exit status
running:
# /usr/bin/xml2-config --version
2.6.26
# /usr/bin/xml2-config --libs
-lxml2 -lz -lm
# /usr/bin/xml2-config --cflags
-I/usr/include/libxml2
# ls /usr/include/libxml2/libxml
c14n.h entities.h nanohttp.h schemasInternals.h
xlink.h xmlreader.h xmlversion.h
catalog.h globals.h parser.h schematron.h
xmlautomata.h xmlregexp.h xmlwriter.h
chvalid.h hash.h parserInternals.h threads.h
xmlerror.h xmlsave.h xpath.h
debugXML.h HTMLparser.h pattern.h tree.h
xmlexports.h xmlschemas.h xpathInternals.h
dict.h HTMLtree.h relaxng.h uri.h
xmlIO.h xmlschemastypes.h xpointer.h
DOCBparser.h list.h SAX2.h valid.h
xmlmemory.h xmlstring.h
encoding.h nanoftp.h SAX.h xinclude.h
xmlmodule.h xmlunicode.h
# ls /usr/lib/libxml*
/usr/lib/libxml2.a /usr/lib/libxml2.so /usr/lib/libxml2.so.2
/usr/lib/libxml2.so.2.6.26
What am I missing?
-Keith
|