--with-Sablot problems

From: Date: Fri, 16 Feb 2001 23:31:06 +0000
Subject: --with-Sablot problems
Groups: php.install 
Request: Send a blank email to php-install+get-2093@lists.php.net to get a copy of this message
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?

« previous php.install (#2093) next »