#21887 [Fbk->Bgs]: Problem with zlib or something like that
| From: | sniper@php.net | Date: | Sat, 08 Feb 2003 05:50:05 +0000 |
| Subject: | #21887 [Fbk->Bgs]: Problem with zlib or something like that | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-32462@lists.php.net to get a copy of this message | ||
ID: 21887
Updated by: sniper@php.net
Reported By: djzone@cracker.hu
-Status: Feedback
+Status: Bogus
Bug Type: Compile Failure
Operating System: Linux Mandrake 9.0 2.4.19
PHP Version: 4.3.0
New Comment:
Compiling zlib as shared is not supported at the moment.
There's another report about that.
Also, you should check what configure options actually
exist in current PHP configure..
(And you don't really need --enable-versioning )
Previous Comments:
------------------------------------------------------------------------
[2003-01-26 10:09:26] derick@php.net
Try compiling zlib as a non-shared module (removed the =shared behind
--with-zlib).
Derick
------------------------------------------------------------------------
[2003-01-26 09:03:29] djzone@cracker.hu
Well, I tried to compile PHP 4.3.0 RC3 and RC4 and also 4.3.0 final,
but I couldn't. I tried to compile with the folowing console
commands:./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-zlib=shared,/usr/local --with-gd=shared,/usr/local
--with-gd-native-ttf --with-jpeg-dir=/usr/local --enable-ftp=shared
--with-png-dir=/usr/local --enable-sockets=shared
--with-freetype-dir=/usr/local --with-mysql=shared,/usr/local
--with-mysql-sock=/tmp/mysql.sock --with-tsrm-pthreads
--with-bz2=shared,/usr/local --enable-versioning --enable-magic-quotes
--enable-shared --enable-pic --disable-static
--enable-inline-optimization --with-config-file-path=/etc
--enable-debugger --enable-track-vars --with-mod_charset
--with-regex=php --enable-cgi-force-redirect --enable-trans-sid
--with-ctype=shared --enable-sysvsem --enable-mime-magic
--with-gettext=shared --without-aspell --without-kerberos
--with-cpdflib=shared,/usr/local --with-gmp=shared,/usr/local
--enable-yp=shared
The error message was the following:
ext/standard/image.lo: In function `php_handle_swc':
/a/php-4.3.0/ext/standard/image.c:195: undefined reference to
`uncompress'
/a/php-4.3.0/ext/standard/image.c:217: undefined reference to
`uncompress'
main/SAPI.lo: In function `sapi_header_op':
/a/php-4.3.0/main/SAPI.c:526: undefined reference to `zlib_globals'
main/SAPI.lo: In function `sapi_send_headers':
/a/php-4.3.0/main/SAPI.c:675: undefined reference to `zlib_globals'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Well, I thought that it was zlibs's fault (i tried with 1.1.3) and I
recompiled everything with a new one (1.1.4), (including libpng, gd,
etc..), but it still doesn't works.
Yes, I ran ldconfig several times...
But everíthing works with PHP 4.2.3, also with zlib 1.1.3, and 1.1.4,
so I have no idea, perhaps you have...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21887&edit=1