[PHP-DEV] PHP 4.0 Bug #8307 Updated: Compile error when linking with MySQL 3.23.29 From: sniper <email protected>
Date: 12/18/00

ID: 8307
Updated by: sniper
Reported By: patrickl <email protected>
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 <email protected>
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

-- 
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>