7 messages in com.mysql.lists.plusplusRe: Could not find working MySQL clie...
FromSent OnAttachments
Zeddy Chirombe27 Oct 2006 13:41 
Warren Young27 Oct 2006 15:30 
Zeddy Chirombe28 Oct 2006 11:49 
Warren Young30 Oct 2006 00:54 
Remi Collet30 Oct 2006 07:38 
Remi Collet13 Nov 2006 00:23 
Warren Young13 Nov 2006 15:17 
Subject:Re: Could not find working MySQL client library!
From:Remi Collet (Lis@FamilleCollet.com)
Date:11/13/2006 12:23:23 AM
List:com.mysql.lists.plusplus

Warren Young a écrit :

You're going to have to open /usr/src/redhat/BUILD/mysql++-2.1.1/config.log in a text editor and study it to see what problem it's having.

I've now work on a x86_64 Fedora Core and i meet this error too.

A solution is : configure --with-mysql-lib=/usr/lib64/mysql

In fact configure didn't test this "standard" directory. Why configure didn't use informations provided by mysql_config ?

For example, in the example/Makefile, i use : CXXFLAGS = -I/usr/include/mysql++ CPPFLAGS = $(shell mysql_config --cflags) LDFLAGS = $(shell mysql_config --libs)

Regards.

P.S. x86_64 rpm for FC6 will be available soon on my repo.