List:MySQL++« Previous MessageNext Message »
From:Remi Collet Date:November 13 2006 8:23am
Subject:Re: Could not find working MySQL client library!
View as plain text  
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.
Thread
Could not find working MySQL client library!Zeddy Chirombe27 Oct
  • Re: Could not find working MySQL client library!Warren Young28 Oct
    • Re: Could not find working MySQL client library!Zeddy Chirombe28 Oct
      • Re: Could not find working MySQL client library!Warren Young30 Oct
        • Re: Could not find working MySQL client library!Remi Collet13 Nov
          • Re: Could not find working MySQL client library!Warren Young14 Nov
  • Re: Could not find working MySQL client library!Remi Collet30 Oct