Hi, I hope someone can help me with this -- here's my situation:
- installed libxml2 successfully with prefix '/usr/local'
- trying to install libxslt using the following:
Code:
# ./configure \
--prefix=/usr/local \
--mandir=/usr/local/share/man \
--with-libxml-prefix=/usr/local
# make
When 'make' runs, it hits this error:
Code:
grep: /usr/lib/libxml2.la: No such file or directory
/bin/sed: can't read /usr/lib/libxml2.la: No such file or directory
libtool: link: `/usr/lib/libxml2.la' is not a valid libtool archive
make[2]: *** [libexslt.la] Error 1
Make is looking in the wrong directory for
libxml2.la, which is located in
/usr/local/lib/libxml2.la. How can I point to this file so that 'make' will find it?