List:MySQL++« Previous MessageNext Message »
From:devlin Date:March 13 2013 10:15pm
Subject:Re: Cross compile mysql++ for PowerPC [Ubuntu libmysqlclient
View as plain text  
> **checking for MySQL library directory... configure: error: Didn't find
> mysqlclient library in '/usr/lib64 /usr/lib /usr/lib64/mysql /usr/lib/mysql
> /usr/local/lib64 /usr/local/lib /usr/local/lib/mysql /usr/local/mysql/lib
> /usr/local/mysql/lib/mysql /usr/mysql/lib/mysql /opt/mysql/lib
> /opt/mysql/lib/mysql /sw/lib /sw/lib/mysql'**

> I tried locate mysqlclient and did not find any references, hence I
> followed instructions given in other blogs and tried to install the
> libmysqlclient15-dev using the below command.

Just to be clear, you need the libmysqlclient-dev and the
libmysqlclient18 packages.

  From the command line you can do: apt-cache search libmysqlclient to
search for packages.

How did you try to locate it? Just curious, on my box (Ubuntu 12.04)
this happens:
user1@computing_machine:~$ locate libmysqlclient

So ./configure --with-mysql-lib=/usr/lib/i386-linux-gnu/ worked for me.

This spot in the documentation discusses your issue:


Christopher Devlin
    American Red Cross - LGI, WSI
    PADI - Divemaster
    Illinois Department of Public Health - Certified Pool Operator
    NSPF - CPO
Re: Cross compile mysql++ for PowerPC [Ubuntu libmysqlclientlocation]devlin13 Mar