ID: 11824
Updated by: derick
Old-Status: Open
Status: Closed
Bug Type: Compile Failure
Operating system: 
PHP Version: 4.0.6
Assigned To: 

No, if MySQL was linked against zlib, you need to add --with-zlib to your configure 
However, GD is linked against zlib too (sometimes statically), so then it's not 


Previous Comments:

[2001-07-01 13:04:34] [EMAIL PROTECTED]


I know this bug was discussed before but it doesn't seems
corrected in recent release of PHP.

If I configure and compile PHP with :

./configure --with-apache=../apache_1.3.20 

When I try to compile Apache with PHP as static module
Apache won't compile and ends up with :

/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In
function `my_uncompress':
my_compress.o(.text+0x9a): undefined reference to `uncompress'
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In
function `my_compress_alloc':
my_compress.o(.text+0x12a): undefined reference to `compress'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Erreur 1
make[2]: Quitte le répertoire
make[1]: *** [build-std] Erreur 2
make[1]: Quitte le répertoire
make: *** [build] Erreur 2

If I add --with-gd to the PHP configure Apache
compile fine...
I read I should use --with-zlib also.

Is there a more elegant way to solve the problem ?

I tried with MySQL 3.22.X and everything is fine so maybe
it's not a PHP issue... 



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to