Re: MySQL client library upgrade: 3.3.31

From: Date: Wed, 17 Jan 2001 09:20:47 +0000
Subject: Re: MySQL client library upgrade: 3.3.31
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-44327@lists.php.net to get a copy of this message
On Tue, Jan 16, 2001 at 05:34:02PM -0500, Ignacio Vazquez-Abrams wrote: > > When PHP is configured to use an external library for MySQL support, if zlib > support is not added then PHP fails with an "unresolved symbol: compress" > error due to the fact that the newer versions of the MySQL client libraries > seem to require libz.so in order to function. I have tried a couple of times > to patch ext/mysql/config.m4 to resolve this, but I haven't been successful. > > Some PHP bug reports which refer to this problem are: 5651, 6811, 6981, 7266, > 8307, 8332, and 8575. > > I'm certain that there are many who would appreciate it if you could deal with > this issue once and for all. That's what the mysql_config script is for: tim@cane:~$ mysql_config Usage: /usr/local/mysql/bin/mysql_config [OPTIONS] Options: --cflags [-I'/usr/local/mysql/include/mysql'] --libs [ -L'/usr/local/mysql/lib/mysql' -lmysqlclient -lz -lcrypt -lm ] --socket [/tmp/mysql.sock] --port [3306] --version [3.23.30-gamma] tim@cane:~$ mysql_config --libs -L'/usr/local/mysql/lib/mysql' -lmysqlclient -lz -lcrypt -lm I'm not sure what the best way to use it in PHP is, but hopefully someone familiar with ext/mysql/config.m4 could fix that. If not, let me know and I'll try to look at it some time. Tim -- __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Tim Smith <tim@mysql.com> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Development Team /_/ /_/\_, /___/\___\_\___/ Helsinki, Finland (for a few weeks) <___/ www.mysql.com

« previous php.dev (#44327) next »