Re: MySQL client library upgrade: 3.3.31
| From: | chrisv at b0rked dot dhs dot org | Date: | Wed, 17 Jan 2001 09:57:08 +0000 |
| Subject: | Re: MySQL client library upgrade: 3.3.31 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-44331@lists.php.net to get a copy of this message | ||
> 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.
I'm not sure how effective this patch is, but it seems to generate a
working configure script for myself. I don't have 3.23.30-gamma installed
yet, though I intend on doing so soon (am downloading at the moment), so I
will get the chance to test the script myself.
For the time being, if anyone wants to look at it, the patch to
ext/mysql/config.m4 is included.
Chris