php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7255 --with-sablot fails
Submitted: 2000-10-16 14:31 UTC Modified: 2000-10-17 16:11 UTC
From: colin at easydns dot com Assigned:
Status: Closed Package: Sablotron XSL
PHP Version: 4.0.3pl1 OS: Redhat 6.2
Private report: No CVE-ID: None
 [2000-10-16 14:31 UTC] colin at easydns dot com
./configure --with-mysql=/usr/local/mysql \
--with-apxs=/usr/local/apache/bin/apxs \
--enable-track-vars \
--disable-debug \
--disable-magic-quotes \
--enable-ftp \
--with-gettext \
--with-xml \
--with-dom \
--enable-wddx \
--with-sablot \
--with-curl \
--with-imap \
--with-pgsql \
--with-zlib \
--enable-versioning \
--with-openssl \
--with-snmp \
--with-mcrypt



from config.log:

configure:41154: checking whether to include zlib support
configure:41343: checking for gzgets in -lz
configure:41362: gcc -o conftest -g -O2  -DXML_BYTE_ORDER=12 -L/usr/lib  -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql -Wl,-rpath,/usr/lib/pgsql -L/usr/lib/pgsql conftest.c -lz  -lsnmp -lsablot -lpq -lmysqlclient -lmcrypt -lltdl -lgd -lxml -lz -lcurl -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_SetElementHandler'
/usr/local/lib/libsablot.so: undefined reference to `XML_ParserFree'
/usr/local/lib/libsablot.so: undefined reference to `XML_SetExternalEntityRefHandler'
/usr/local/lib/libsablot.so: undefined reference to `XML_SetCharacterDataHandler'
/usr/local/lib/libsablot.so: undefined reference to `XML_ErrorString'
/usr/local/lib/libsablot.so: undefined reference to `XML_ParseBuffer'
/usr/local/lib/libsablot.so: undefined reference to `XML_ExternalEntityParserCreate'
/usr/local/lib/libsablot.so: undefined reference to `XML_SetBase'
/usr/local/lib/libsablot.so: undefined reference to `XML_SetUnknownEncodingHandler'
/usr/local/lib/libsablot.so: undefined reference to `XML_SetUserData'
/usr/local/lib/libsablot.so: undefined reference to `XML_SetProcessingInstructionHandler'
/usr/local/lib/libsablot.so: undefined reference to `XML_GetErrorCode'
/usr/local/lib/libsablot.so: undefined reference to `XML_GetBuffer'
/usr/local/lib/libsablot.so: undefined reference to `XML_SetCommentHandler'
/usr/local/lib/libsablot.so: undefined reference to `XML_GetCurrentLineNumber'
/usr/local/lib/libsablot.so: undefined reference to `XML_SetNamespaceDeclHandler'
collect2: ld returned 1 exit status
configure: failed program was:
#line 41351 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gzgets();

int main() {
gzgets()
; return 0; }

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-16 19:26 UTC] sterling@php.net
Sablotron needs to be linked with the external expat libraries in order to work with PHP.

alternately you can add -lxmlparse and -lxmltok and use Sablotron's built-in XML libraries.
 [2000-10-17 16:11 UTC] colin at easydns dot com
Just to follow-up ...

Using the external expat libraries causes Apache to die when using the PHP module.  :/

- Colin
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 07 02:01:29 2024 UTC