List:MySQL++« Previous MessageNext Message »
From:Roger (COM Chantry CA) Urscheler Date:November 3 2006 9:30pm
Subject:RE: Could not find working MySQL client Library
View as plain text  
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@stripped] 
Sent: Friday, November 03, 2006 4:08 PM
To: plusplus@stripped
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=1
Thread
Could not find working MySQL client LibraryRaj Banerjee \(rajbaner\)3 Nov
  • Re: Could not find working MySQL client LibraryZeddy Chirombe3 Nov
  • Re: Could not find working MySQL client LibraryWarren Young3 Nov
RE: Could not find working MySQL client LibraryCOM Chantry CA)3 Nov
  • Re: Could not find working MySQL client LibraryWarren Young3 Nov
    • Re: Could not find working MySQL client LibraryZeddy Chirombe3 Nov