Re: PHP 4.0 Bug #8307: Compile error when linking with MySQL 3.23.29
| From: | Ignacio Vazquez-Abrams | Date: | Mon, 18 Dec 2000 03:30:08 +0000 |
| Subject: | Re: PHP 4.0 Bug #8307: Compile error when linking with MySQL 3.23.29 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-41700@lists.php.net to get a copy of this message | ||
On 18 Dec 2000 patrickl@steltor.com wrote:
> From: patrickl@steltor.com
> Operating system: Mandrake 7.2
> PHP version: 4.0.3pl1
> PHP Bug Type: Compile Failure
> Bug description: Compile error when linking with MySQL 3.23.29
>
> I try to compil PHP 4.0.3pl1 and i have problem
> this a description of My config :
>
> Os : Linux Mandrake 7.2
> apache : 1.3.14
> Mysql : 3.23.29
> Php : 4.0.3pl1
> ZendOptimizer
> OpnSSL : 0.9.6
> mod_ssl : 2.7.1-1.3.14
> mod_auth_mysql : 2.20
>
> my config line for php :
> ./configure --with-mysql --with-apache=../apache_1.3.14
> --enable-track-vars --enable-ftp --enable-trans-sid
> --disable-debug --enable-safe-mode
>
>
> my config line for apache :
> ./configure --activate-module=src/modules/php4/libphp4.a
> --activate-module=src/modules/auth_mysql/libauth_mysql.a
> --server-uid=httpd --server-gid=httpd
>
>
> i have absolutely no errors in the compil phase of Php
> but in the Apache phase i have this :
>
> /usr/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_uncompress':
> my_compress.o(.text+0x97): undefined reference to `uncompress'
> /usr/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_compress_alloc':
> my_compress.o(.text+0x12b): undefined reference to `compress'
> collect2: ld returned 1 exit status
> make[2]: *** [target_static] Erreur 1
> make[1]: *** [build-std] Erreur 2
> make: *** [build] Erreur 2
>
> ANy help
>
> thanks
>
> patrick
>
Add --with-zlib to the PHP configure line.
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>