#19924 [Opn->Bgs]: zlib.lo: file not recognized: File truncated
ID: 19924
Updated by: sniper@php.net
Reported By: jms18@weatherhead.cwru.edu
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Debian Linux 3.0
PHP Version: 4.3.0-pre1
New Comment:
Try doing 'make clean'..and btw. just using --with-zlib should work
(ie. no path)
This is not any bug anyway, you're just doing something wrong.
Previous Comments:
------------------------------------------------------------------------
[2002-10-15 16:56:36] jms18@weatherhead.cwru.edu
I should probably also mention (because, for some reason, I forgot to
do so) that this is being compiled as a DSO for Apache 2.0.43.
------------------------------------------------------------------------
[2002-10-15 16:08:41] jms18@weatherhead.cwru.edu
I configured PHP with the following:
./configure --enable-trans-sid \
--with-mysql=/usr/local/mysql \
--with-mm=../mm-1.2.1 \
--with-png=/usr/local \
--with-png-dir=/usr/local \
--with-freetype=/usr/local \
--with-zlib=/usr/local \
--with-zlib-dir=/usr/local \
--with-gd=/usr/local \
--with-apxs2=/usr/local/apache/bin/apxs
The configuration goes fine. When I execute 'make', the following
error occurs:
sapi/apache2filter/php_functions.lo main/internal_functions.lo -lmm
-lmysqlclient -lgd -lpng -lz -lz -lcrypt -lresolv -lm -ldl -lnsl
-lcrypt -ldl -o libphp4.la
ext/zlib/zlib.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1
I tried a couple of things. I made sure my ld.so.conf was up to date
(just in case). I tried to point --with-zlib and --with-zlib-dir
against the un-tarred source of zlib (version 1.1.4) a la:
--with-zlib=../zlib-1.1.4 \
--with-zlib-dir=../zlib-1.1.4
I tried just specifying '--with-zlib' with no path parameter, but
nothing worked.
Thanks guys!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19924&edit=1
Thread (5 messages)