PHP 4.0 Bug #8745: --with-zlib and --with-sablot will compile seperately but not together

From: Date: Tue, 16 Jan 2001 20:17:29 +0000
Subject: PHP 4.0 Bug #8745: --with-zlib and --with-sablot will compile seperately but not together
Groups: php.dev 
Request: Send a blank email to php-dev+get-44274@lists.php.net to get a copy of this message
From: lbergman@abi.tconline.net Operating system: RH6.2 - 2.2.12-20smp PHP version: 4.0.4pl1 PHP Bug Type: Sablotron XSL Bug description: --with-zlib and --with-sablot will compile seperately but not together reproduce - compile sablot and zlib together, in any order see bug #8603 for this same problem but with 4.0.4 That bug was fixed in the snaps as of 2000101151145. I don't know what the pl1 was based on so I thought I would go ahead and submit this. Hope it's not to much of a bother. And as always, thanks for the great tool. ============ debug.log ============ CONFIGURE: './configure' '--with-apxs=/usr/sbin/apxs' '--enable-track-vars' '--enable-trans-sid' '--disable-debug' '--with-zlib=/usr/local/lib' '--with-sablot=/usr/local/lib' CC: gcc CFLAGS: -g -O2 CPPFLAGS: -DLINUX=2 -DEAPI -DUSE_EXPAT CXX: CXXFLAGS: INCLUDES: -I/usr/include/apache -I$(top_builddir)/Zend -I/root/tar/php-4.0.4pl1/ext/mysql/libmysql -I/usr/local/include LDFLAGS: -Wl,-rpath,/usr/local/lib -L/usr/local/lib LIBS: -lxmltok -lxmlparse -lsablot -lresolv -lm -ldl -lcrypt -lnsl -lresolv DLIBS: SAPI: apache PHP_RPATHS: /usr/local/lib uname -a: Linux ns1.abi.tconline.net 2.2.12-20smp #1 SMP Mon Sep 27 10:34:45 EDT 1999 i686 unknown gcc -o conftest -g -O2 -DLINUX=2 -DEAPI -DUSE_EXPAT -Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.c -lxmltok -lxmlparse -lsablot -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 ================= config.log ================= #if BYTE_ORDER != BIG_ENDIAN not big endian #endif ; return 0; } configure:42680: checking for XML support configure:43091: checking for YAZ support configure:43441: checking whether to include YP support configure:43638: checking whether to include zlib support configure:43839: checking for gzgets in -lz configure:43858: gcc -o conftest -g -O2 -DLINUX=2 -DEAPI -DUSE_EXPAT -DXML_BYTE_ORDER=12 -L/usr/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.c -lz -lxmltok -lxmlparse -lsablot -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 configure: failed program was: #line 43847 "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; } -- Edit Bug report at: http://bugs.php.net/?id=8745&edit=1

« previous php.dev (#44274) next »