List:MySQL++« Previous MessageNext Message »
From:devlin Date:March 13 2013 10:15pm
Subject:Re: Cross compile mysql++ for PowerPC [Ubuntu libmysqlclient
location]
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
/home/devlin/user1/mysql++-3.1.0/libmysqlclient.def
/usr/lib/i386-linux-gnu/libmysqlclient.a
/usr/lib/i386-linux-gnu/libmysqlclient.so
/usr/lib/i386-linux-gnu/libmysqlclient.so.18
/usr/lib/i386-linux-gnu/libmysqlclient.so.18.0.0
/usr/lib/i386-linux-gnu/libmysqlclient_r.a
/usr/lib/i386-linux-gnu/libmysqlclient_r.so
/usr/lib/i386-linux-gnu/libmysqlclient_r.so.18
/usr/lib/i386-linux-gnu/libmysqlclient_r.so.18.0.0

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

This spot in the documentation discusses your issue:

http://tangentsoft.net/mysql++/doc/html/userman/configuration.html#mysql-loc


-- 

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