php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38034 pdo_mysql configure failure
Submitted: 2006-07-07 13:59 UTC Modified: 2006-07-08 10:06 UTC
From: vbolshov at rbc dot ru Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5CVS-2006-07-07 (snap) OS: fedora core 5
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: vbolshov at rbc dot ru
New email:
PHP Version: OS:

 

 [2006-07-07 13:59 UTC] vbolshov at rbc dot ru
Description:
------------
Attempting to configure pdo_mysql extension for php5.2-200607071230.

MySQL version: 5.0.22-max

Reproduce code:
---------------
# ./configure --with-pdo-mysql=/usr/local/mysql
...
checking for MySQL support for PDO... yes, shared
checking for mysql_config... /usr/local/mysql/bin/mysql_config
checking for mysql_query in -lmysqlclient... no
configure: error: mysql_query missing!?

Expected result:
----------------
successful compile

Actual result:
--------------
configure error

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-07-07 14:03 UTC] tony2001@php.net
Check your config.log for error messages.
Or put it somewhere in the net.
 [2006-07-08 09:49 UTC] vbolshov at rbc dot ru
It seems to me at the moment that this is not a PHP problem, but a problem with the MySQL binary distribution. Further comments will follow once I have access to the machine where the problem appeared - and I'll try to build MySQL from sources instead of installing binaries.
 [2006-07-08 10:06 UTC] tony2001@php.net
Not PHP problem -> bogus.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 21 17:00:03 2025 UTC