ID:               24034
 Comment by:       fmurrieta at encuentra dot com
 Reported By:      k dot davies at syntos dot co dot uk
 Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Redhat 6
 PHP Version:      4.3.1
 New Comment:

I get the same error trying to compile php4.3.4 with zlib1.2.1



Any ideas?



./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
--with-gd --with-jpeg-dir --with-png-dir
--with-zlib-dir=/usr/src/zlib-1.2.1 --with-ttf --with-tllib
--with-freetype-dir --enable-gd-native-ttf --enable-exif



Tail of the Make command:



 libphp4.la

/usr/bin/ld:ext/zlib/zlib.lo: file format not recognized; treating as
linker script

/usr/bin/ld:ext/zlib/zlib.lo:2: parse error

collect2: ld returned 1 exit status

make: *** [libphp4.la] Error 1


Previous Comments:
------------------------------------------------------------------------

[2003-06-05 07:36:06] [EMAIL PROTECTED]

Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

PHP 4.3.2 exists already..



------------------------------------------------------------------------

[2003-06-05 05:03:53] k dot davies at syntos dot co dot uk

Hi





I have compiled zlib-1.1.4 as static and shared.  



Compile php with minimum

./configure --with-mysql=shared,/usr/local/mysql
--with-apxs=/usr/sbin/apxs --with-zlib



Tail of the Make command

libphp4.la

/usr/bin/ld:ext/zlib/zlib.lo: file format not recognized; treating as
linker script

/usr/bin/ld:ext/zlib/zlib.lo:2: parse error

collect2: ld returned 1 exit status

make: *** [libphp4.la] Error 1



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24034&edit=1

Reply via email to