PHP 4.0 Bug #8307 Updated: Compile error when linking with MySQL 3.23.29
| From: | sniper@php.net | Date: | Mon, 18 Dec 2000 10:51:41 +0000 |
| Subject: | PHP 4.0 Bug #8307 Updated: Compile error when linking with MySQL 3.23.29 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-41720@lists.php.net to get a copy of this message | ||
ID: 8307
Updated by: sniper
Reported By: patrickl@steltor.com
Old-Status: Open
Status: Closed
Bug Type: Compile Failure
Assigned To:
Comments:
Change --with-mysql to point to the install path of Mysql and
add --with-zlib to the configure line also.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-12-17 22:23:12] patrickl@steltor.com
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
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8307