php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57085 PDO_MYSQL compile against MySQL 5.0.22
Submitted: 2006-06-13 12:58 UTC Modified: 2008-05-08 11:00 UTC
From: khalid at pixelcraze dot com Assigned:
Status: Not a bug Package: PDO_MYSQL (PECL)
PHP Version: 5.1.2 OS: Fedora Core 4
Private report: No CVE-ID: None
 [2006-06-13 12:58 UTC] khalid at pixelcraze dot com
Description:
------------
PDO_MYSQL won't compile against MySQL 5.0.22 but works fine against 5.0.18.

This is using PHP 5.1.4 (which is unavailable on the 'add bug' form).

Reproduce code:
---------------
pecl download PDO_MYSQL
tar -zxvf PDO_MYSQL.tgz
cd PDO_MYSQL-1.0.2
phpize
./configure

Setting configure to use the full/path/to/mysql doesn't make a difference.

config.log at: http://www.pixelcraze.com/config.log

Expected result:
----------------
Should Compile

Actual result:
--------------
checking for re2c... no
configure: WARNING: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for MySQL support for PDO... yes, shared
checking for mysql_config... /usr/bin/mysql_config
checking for mysql_query in -lmysqlclient... no
configure: error: mysql_query missing!?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-05-08 11:00 UTC] johannes at schlueters dot de
Should be fixed meanwhile, also this is no PDO but ext/mysql problem.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Nov 17 14:01:40 2019 UTC