I am using MySQL 5.1 and got it to work by creating a symbolic link:
/usr/lib/mysql/libmysqlclient.so -> /usr/lib/libmysqlclient.so.15.0.0
Found it here:
From: Raj Banerjee (rajbaner) [mailto:rajbaner@stripped]
Sent: Friday, November 03, 2006 4:08 PM
Subject: Could not find working MySQL client Library
Saw a post a few days ago by Zeddy Chirombe regarding this error while
I had the same error earlier today and wanted to share the solution.
checking for MySQL library directory... /usr/lib/mysql checking for MySQL
include directory... /usr/include/mysql checking for mysql_store_result in
configure: error: Could not find working MySQL client library!
You're building with MySQL 5.0 installed on your system. you need to use
4.1, as it says on http://tangentsoft.net/mysql++/
The build is looking for /usr/lib/libmysqlclient.so.14 ******
and with mysql 5.0 you'd have /usr/lib/libmysqlclient.so.15.***** and though
i tried, no amount of symlinks would fool mysql++ config script.
Rajat Banerjee, Cisco Systems
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus