logo       

Could not find working MySQL client Library: msg#00004

db.mysql.c++

Subject: Could not find working MySQL client Library

Hi,
Saw a post a few days ago by Zeddy Chirombe regarding this error while
building mysql++

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 -lmysqlclient... no
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.

HTH,
Rajat Banerjee, Cisco Systems

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:
http://lists.mysql.com/plusplus?unsub=gcdmc-plusplus@xxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise