Rasmus, Steve,


Thanks very much for taking the time, the ldconfig suggestion took care of
the problem handily. PHP's running as a DSO and this may be the happiest
moment of my life.

Okay.

I ran into a similar problem with the Sablot processor. Expat is installed
properly, and the PHP config seems to find it just fine. The Sablot
libraries are installed in /usr/local/lib.

When I run configure with eh '--with-sablot=/usr/local/lib' directive,
things go a little awry. Just a little. Configure completes it's work but
says there's something screwy. The debug.log (output below) complains
about undefined refs to some XML function calls, like
XML_ParserCreateNS.

Anyway, when I've tried to compile in the past, the same exact problem
came up as before with mysqlclient, the PHP module claims that it can't
find the libsablot libraries.

So, my question: are these problems related? If I include the path to the
sablotron libraries in my ld.so.conf, will that fix the problem as with
mysqlclient? It didn't fix it with the configure command so far. Has
anyone else encountered this?

I'll go and forge ahead, but if there's any advice out there, that'd be
great. Thanks again for your previous help.

Peace,
GM

*****

CONFIGURE:   './configure' '--with-apxs=/usr/local/apache/bin/apxs'
'--with-config-file-path=/usr/local/apache/conf/php' '--w
ith-mysql=/usr/local/mysql' '--with-gd' '--with-gdbm'
'--with-ldap=/usr/local/ldap' '--enable-ftp' '--enable-magic-quotes' '-
-with-sablot=/usr/local/lib' '--enable-sablot-errors-descriptive'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT
CXX:
CXXFLAGS:
INCLUDES:    -I/usr/local/apache/include  -I$(top_builddir)/Zend
-I/usr/local/ldap/include -I/usr/local/mysql/include/mysql -
I/usr/local/include
LDFLAGS:     -Wl,-rpath,/usr/local/ldap/lib -L/usr/local/ldap/lib
-Wl,-rpath,/usr/local/mysql/lib/mysql -L/usr/local/mysql/li
b/mysql -Wl,-rpath,/usr/local/lib -L/usr/local/lib
LIBS:       -lxmltok -lxmlparse -lsablot -lmysqlclient -lldap -llber -lgd
-lgdbm -lresolv -lm -ldl -lcrypt -lnsl  -lresolv
DLIBS:
SAPI:       apache
PHP_RPATHS:  /usr/local/ldap/lib /usr/local/mysql/lib/mysql /usr/local/lib
uname -a:   Linux server1.thirdstone.net 2.2.14-12.4RS #1 Tue Jun 27
05:10:19 CDT 2000 i586 unknown

gcc -o conftest -g -O2  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT
-Wl,-rpath,/usr/local/ldap/lib -L/usr/local/ldap/lib -Wl,-rpath
,/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql
-Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.c -lxmltok -lxml
parse -lsablot -lmysqlclient -lldap -llber -lgd -lgdbm -lresolv -lm -ldl
-lcrypt -lnsl  -lresolv 1>&5
/usr/local/lib/libsablot.so: undefined reference to `XML_ParserCreateNS'
/usr/local/lib/libsablot.so: undefined reference to
`XML_SetCommentHandler'
/usr/local/lib/libsablot.so: undefined reference to
`XML_SetNamespaceDeclHandler'
collect2: ld returned 1 exit status


-- 
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]

Reply via email to