Installing libxml2

datacreek

Verified User
Joined
Feb 5, 2006
Messages
14
I am trying to install libxml2 on my DA box running Apache 1.3.31
This is needed to work with the Google Checkout API

I installed libxml2-2.6.11.tar.gz per instructions

In /usr/local/lib there is a file named xml2Conf.sh which contains:

XML2_LIBDIR="-L/usr/local/lib"
XML2_LIBS="-lxml2 -lz -lpthread -lm "
XML2_INCLUDEDIR="-I/usr/local/include/libxml2"
MODULE_VERSION="xml2-2.6.11"

When I look in those directories I see the xml2 files such as in /usr/local/lib :
libxml2.a
libxml2.la
libxml2.so
libxml2.so.2
libxml2.so.2.6.11

To my configure.php file I have added about every concievable entry and path I can think of such as:

--with-xml2 \
--with-xml2-dir=/usr/local/lib \
--with-xml2-dir=/usr/local/include/libxml2 \

or
--with-libxml2 \
--with-libxml2-dir=/usr/local/lib \
--with-libxml2-dir=/usr/local/include/libxml2 \

and other variations...

Each time I ran:
./build clean
./build php n

and restarted apache.

It's not working. When I run a test to see if libxml is installed it returns that it isn't.
Any help would be much appreciated.

TIA !
 
Back
Top