Date: 07/01/01
- Next message: elixer <email protected>: "[PHP-DEV] Bug #11812 Updated: mail function"
- Previous message: abernard <email protected>: "[PHP-DEV] Bug #11824: Apache compilation with PHP/Mysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 11824
Updated by: derick
Reported By: abernard <email protected>
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 <email protected>
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
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: elixer <email protected>: "[PHP-DEV] Bug #11812 Updated: mail function"
- Previous message: abernard <email protected>: "[PHP-DEV] Bug #11824: Apache compilation with PHP/Mysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

