php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29089 Configure Warning concerning MySQL Version 4.1.3
Submitted: 2004-07-10 20:51 UTC Modified: 2004-07-14 09:39 UTC
From: s dot seipel at gmx dot de Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5CVS-2004-07-10 (dev) OS: Linux Slackware 9.1
Private report: No CVE-ID: None
 [2004-07-10 20:51 UTC] s dot seipel at gmx dot de
Description:
------------
I downloaded and compile the mysql version 4.1.3 (no snapshot or CVS) which run without problems. then I checkout the latest PHP 5 CVS and run the following configure:

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/etc --with-mysql=/usr/local/mysql4.0 --with-mysqli=/usr/local/mysql4.1/bin/mysql_config --with-xmlrpc --enable-soap --enable-wddx --with-jpeg-dir=/usr/local --with-gd --with-freetype-dir=/usr/local --with-ttf=/usr/local --with-zlib-dir=/usr/local --enable-sockets

checking for MySQLi support... yes
checking whether to enable embedded MySQLi support... no
checking for mysql_set_server_option in -lmysqlclient... yes
checking for mysql_stmt_field_count in -lmysqlclient... no
configure: error: MySQLI doesn't support versions < 4.1.3 anymore. Please update your libraries.

MySQL 4.1.3 is actually installed, is this a Bug?



Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-10 22:21 UTC] curt@php.net
You can't compile the mysql4.0 client and mysql4.1 client together, try changing your --with-mysql to /usr/local/mysql4.1/

Also, check your config.log, it will show you how mysql.4.1.x was tested.

 [2004-07-11 08:44 UTC] georg@php.net
fixed status -> bogus
 [2004-07-11 11:11 UTC] s dot seipel at gmx dot de
okay, you're right. but why could I compile the mysql4.0 und mysql 4.1 client together with PHP 5 RC3?

was this attitude changing with the latest CVS?

thanks!
 [2004-07-13 01:41 UTC] s dot seipel at gmx dot de
> You can't compile the mysql4.0 client and mysql4.1 client > together, try
> changing your --with-mysql to /usr/local/mysql4.1/

why could I use the mysql 4.1 libmysqlclient for both mysql versions? I thought each libmysqlclient is intended for one mysql version...

It would be great if you could answer!
tbanks, sabine
 [2004-07-14 09:39 UTC] derick@php.net
It's due to symbol clashes, PHP doesn't know internall when to use a function in which of the two libraries (because the name of the function is the same inside the library) and PHP just picks one then, leading to unexpected results. Perhaps you could compile it, but it would not really work very well.

So I'm changing the status back to bogus.
 [2004-07-14 09:39 UTC] derick@php.net
.
 [2004-07-22 15:55 UTC] beardie at dsvr dot net
There's also a bug in the 'configure' file.

See <a href=http://bugs.php.net/bug.php?id=29329>Bug #29329</a>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Aug 16 21:01:28 2024 UTC