From: [EMAIL PROTECTED] Operating system: Debian Linux 3.0 PHP version: 4.3.0-pre1 PHP Bug Type: Compile Failure Bug description: zlib.lo: file not recognized: File truncated
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 bug report at http://bugs.php.net/?id=19924&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19924&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19924&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19924&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19924&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19924&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19924&r=support Expected behavior: http://bugs.php.net/fix.php?id=19924&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19924&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19924&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19924&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19924&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=19924&r=dst IIS Stability: http://bugs.php.net/fix.php?id=19924&r=isapi
