#29979 [Opn->Bgs]: mysqli - compilation error

From: Date: Sun, 05 Sep 2004 11:33:44 +0000
Subject: #29979 [Opn->Bgs]: mysqli - compilation error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-65753@lists.php.net to get a copy of this message
ID: 29979 Updated by: tony2001@php.net Reported By: x-penguin at tut dot by -Status: Open +Status: Bogus Bug Type: MySQLi related Operating System: Linux PHP Version: 5CVS-2004-09-04 (dev) New Comment: x-penguin at tut dot by: Georg pointed you out the problem. Fix your mysql install and figure out why there are old headers in your system. Not a PHP bug -> bogus. Previous Comments: ------------------------------------------------------------------------ [2004-09-05 13:04:16] nospam at nospam dot org Guys, why don't ask your sys admins to install the things for you instead to bother php dev's with your broken systems? The errormessage indicates, that an include file is used, which is from versions < 4.1. Fix your broken installation first! ------------------------------------------------------------------------ [2004-09-04 22:16:01] x-penguin at tut dot by client libraries are located only in /usr/lib: /usr/lib/libmysqlclient_r.so /usr/lib/libmysqlclient.so /usr/lib/libmysqlclient_r.so.14 /usr/lib/libmysqlclient.so.14 /usr/lib/libmysqlclient_r.so.14.0.0 /usr/lib/libmysqlclient.so.14.0.0 ------------------------------------------------------------------------ [2004-09-04 21:52:25] schlueter at phpbar dot de As Georg wrote: Both - MySQL and MySQLi need the same library and you are using one in /usr and one in /opt ------------------------------------------------------------------------ [2004-09-04 20:06:22] x-penguin at tut dot by :) yes, I read this manual, and I use client libraries from mysql4.1... ------------------------------------------------------------------------ [2004-09-04 19:20:42] georg@php.net RTFM! From our fine manual: Installation To install the mysqli extension for PHP, use the --with-mysqli=mysql_config_path/mysql_config configuration option where mysql_config_path represents the location of the mysql_config program that comes with MySQL versions greater than 4.1. If you would like to install the mysql extension along with the mysqli extension you have to use the same client library to avoid any conflicts. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/29979 -- Edit this bug report at http://bugs.php.net/?id=29979&edit=1

« previous php.bugs (#65753) next »