logo       

Re: Could not find working MySQL client library!: msg#00017

db.mysql.c++

Subject: Re: Could not find working MySQL client library!

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.

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