logo       

RE: Could not find working MySQL client Library: msg#00005

db.mysql.c++

Subject: RE: Could not find working MySQL client Library

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:
http://archive.netbsd.se/?ml=mysql-plusplus&a=2006-08&t=2289941


-----Original Message-----
From: Raj Banerjee (rajbaner) [mailto:rajbaner@xxxxxxxxx]
Sent: Friday, November 03, 2006 4:08 PM
To: plusplus@xxxxxxxxxxxxxxx
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=roger.urscheler@xxxxxxxxxxx

--
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