Hi,
I recently comiled this stuff on my computer. I've got Expat 1.95, Sablotron 0.5, PHP 4.04 and Apache 13.14
I built it all, and things seemed fine. However when I tyied to load the dynamic PHP module into Apache, it bombed with the following error:
Cannot load /usr/local/apache_1.3.14/libexec/libphp4.so into server: ld.so.1: /usr/local/apache_1.3.14/bin/httpd: fatal: libxmltok.so.1: open failed: No such file or directory
Obviously it can't find the library. I can fix this by setting
LD_LIBRARY_PATH=/usr/local/lib
My question is, how do I compile PHP so the this is not necessary? Is there a compile time option that I can use to say "look in /usr/local/lib for expat libraries"
Or is it a Sablotron problem? Sabcmd seenms to run fine.
Thanks,
Conall
Configs:
Sablotron = ./configure
PHP = ./configure --with-apxs=/usr/local/apache_1.3.14/bin/apxs --enable-track-vars --with-mysql=/usr/local/mysql --with
-sablot
Apache = ./configure --with-layout=Apache --prefix=/usr/local/apache_1.3.14 --logfiledir=/var/log/httpd --activate-module=src/modules/perl/libperl.a --enable-module=most --enable-shared=max --disable-shared=perl