I've been trying to compile php with support for the latest
Sablotron and Expat.
Here are the specs:
RedHat 7.0
php-4.0.4pl1
Sablot-0.50
expat-1.95.1
sablotron and expat were compiled and installed in
/usr/local/{lib,include}. PHP was configured with
these settings:
./configure \
--with-mysql --with-apxs=/usr/local/apache/bin/apxs \
--enable-track-vars --enable-calendar \
--with-xml --with-pgsql \
--with-dom=/usr/local/libxml \
--with-sablot \
--enable-shmop
On configuring this, the debug.log file gave this message:
gcc -o
onftest -g -O2 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -DSHARED_CORE -Wl,-rpa
th,/usr/local/libxml/lib -L/usr/local/libxml/lib -Wl,-rpath,/usr/local/pgsql
/lib -L/usr/local/pgsql/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib
conftest.c -lxmltok -lxmlparse -lsablot -lpq -lz -lxml -lresolv -lm -ldl -lc
rypt -lnsl -lresolv -L/usr/local/libxml/lib -lz 1>&5
/usr/bin/ld: cannot find -lxmltok
collect2: ld returned 1 exit status
The reason it can't find xmltok is because the latest expat doesn't create
an xmltok
or xmlparse libraries. Instead, libexpat.* libraries are made.
What could I do to fix this so that php looks for the appropriate library?
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]