PHP 4.0 Bug #8603 Updated: zlib and xslt seem incompatible on this system
| From: | lbergman at abi dot tconline dot net | Date: | Tue, 09 Jan 2001 00:15:28 +0000 |
| Subject: | PHP 4.0 Bug #8603 Updated: zlib and xslt seem incompatible on this system | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-43494@lists.php.net to get a copy of this message | ||
ID: 8603
User Update by: lbergman@abi.tconline.net
Old-Status: Feedback
Status: Open
Bug Type: Sablotron XSL
Description: zlib and xslt seem incompatible on this system
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.4/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
---------------------------------------------------
---------------------------------------------------
I hope this is the part you want from config.log
If not let me know and I will post the rest, or rerun w/o one of the two to see the difference. Just
let me know what I can do to help. Thanks.
#if BYTE_ORDER != BIG_ENDIAN
not big endian
#endif
; return 0; }
configure:42676: checking for XML support
configure:43087: checking for YAZ support
configure:43437: checking whether to include YP support
configure:43634: checking whether to include zlib support
configure:43835: checking for gzgets in -lz
configure:43854: 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 43843 "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; }
Previous Comments:
---------------------------------------------------------------------------
[2001-01-08 18:38:15] derick@php.net
Can you paste the appropriate piece of config.log into this bugreport?
---------------------------------------------------------------------------
[2001-01-08 18:29:43] lbergman@abi.tconline.net
The configure line did not include --with-apxs which it shaould have.
---------------------------------------------------------------------------
[2001-01-08 18:27:22] lbergman@abi.tconline.net
Reproduce: Compile flags --with-zlib --with-sablot
Configure line:
./configure
--enable-track-vars
--enable-trans-sid
--disable-debug
--with-zlib=/usr/local/lib
--with-sablot=/usr/local/lib
php.ini not relevant
gdb backtrace: Not a php crash
Description:
On this system if zlib and sablot are configured together the configure always fails with this
error:
"Zlib module requires zlib >= 1.0.9."
The prior build phpinfo() reports zlib enabled with a version of 1.1.3 and I found no problems with
it. Just to make sure I compiled zlib again from the source and got the same error. Either zlib or
sablot will configure and make seperately but not together and not in any order. I tried the sablot
linux binary w/o the expat from sourceforge. With the expat. Compiling the source from sablot with
the expat. All bailed at the same place when compiled with zlib and all but the binary worked
without it.
I have seen mention on the list of configures with the above that have not had this problem. Is this
a known compiler issue?
P.S. First time to try compiling sablot.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8603