Bug #11824 Updated: Apache compilation with PHP/Mysql

From: Date: Sun, 01 Jul 2001 17:21:32 +0000
Subject: Bug #11824 Updated: Apache compilation with PHP/Mysql
Groups: php.dev 
Request: Send a blank email to php-dev+get-58626@lists.php.net to get a copy of this message
ID: 11824 Updated by: derick Reported By: abernard@aleaur.com Old-Status: Open Status: Closed Bug Type: Compile Failure Operating system: PHP Version: 4.0.6 Assigned To: Comments: No, if MySQL was linked against zlib, you need to add --with-zlib to your configure line. However, GD is linked against zlib too (sometimes statically), so then it's not needed. Derick Previous Comments: --------------------------------------------------------------------------- [2001-07-01 13:04:34] abernard@aleaur.com Hi, 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 --with-mysql=/usr/local/mysql 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 `/home/srcs/networking/apache_1.3.20/src' make[1]: *** [build-std] Erreur 2 make[1]: Quitte le répertoire `/home/srcs/networking/apache_1.3.20' 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... Alexis --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11824&edit=2

« previous php.dev (#58626) next »