Bug #25496 compiling php-5.2.0 failed
Submitted: 9 Jan 2007 14:53 Modified: 9 Jan 2007 15:55
Reporter: Mike Kuznetsov Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:5.0.27 OS:Linux (fedora core 4)
Assigned to: CPU Architecture:Any

[9 Jan 2007 14:53] Mike Kuznetsov
Description:
subj

How to repeat:
I have installed the server into /usr/local/mysql (from http://mysql.org/get/Downloads/MySQL-5.0/mysql-standard-5.0.27-linux-i686.tar.gz/from/pick) and tried to install php-5.2.0 :

# ./configure [...skip...] --with-pdo-mysql=/usr/local/mysql [...skip...]

[...skip...]
checking whether to enable PDO support... yes
checking for PDO_DBLIB support via FreeTDS... no
checking for Firebird support for PDO... no
checking for MySQL support for PDO... yes
checking for mysql_config... /usr/local/mysql/bin/mysql_config
checking for mysql_query in -lmysqlclient... no
configure: error: mysql_query missing!?

# tail -n 100 config.log

[...too long, i will attach it to report...]
[9 Jan 2007 14:56] Mike Kuznetsov
tail php configure log-file

Attachment: tail-n-100-config-log.txt (text/plain), 10.77 KiB.

[9 Jan 2007 14:58] Mike Kuznetsov
I forget to write an OS
[9 Jan 2007 15:55] Sveta Smirnova
Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments to the original bug instead.

Thank you for your interest in MySQL.

Duplicates Bug #19817