mysqli -> mysql
| From: | Whitehawk Stormchaser | Date: | Wed, 06 Oct 2004 23:21:46 +0000 |
| Subject: | mysqli -> mysql | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-198786@lists.php.net to get a copy of this message | ||
Hi!
I have a trouble with building MySQL and MySQLi support together with PHP...
Basically my config says:
../configure --with-mysql=/usr --with-mysqli=/usr/bin/mysql_config (and other
switches)
but I get this:
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x0): multiple definition of
`net_buffer_length'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x0): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): multiple definition of
`max_allowed_packet'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): first defined here
and that for basically for each function....
Anyone knows, how to make the mysqli and mysql extension work together?
Thanks. Stormy.