#19924 [Com]: zlib.lo: file not recognized: File truncated
| From: | jms18 at weatherhead dot cwru dot edu | Date: | Tue, 15 Oct 2002 21:56:36 +0000 |
| Subject: | #19924 [Com]: zlib.lo: file not recognized: File truncated | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-22524@lists.php.net to get a copy of this message | ||
ID: 19924
Comment by: jms18@weatherhead.cwru.edu
Reported By: jms18@weatherhead.cwru.edu
Status: Open
Bug Type: Compile Failure
Operating System: Debian Linux 3.0
PHP Version: 4.3.0-pre1
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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