Thanks for the comments. I force installed libmysqlclient
and now I can see the .so files. Then I included them in configure and I
could build mysql++ libraries for my Ubuntu. Now I need to do the same for
my embedded platform.
> How to cross compile mysqlclient for powerpc ?
>>This is totally not the right forum to learn how to use your embedded
I am sorry, my question was not specific. I know how to use my tool chain.
My question was about libmysqlclient libraries. Generally we get the native
C libraries using the below command
sudo apt-get install libmysqlclient-dev
If I am not wrong, we directly get the libraries which is compiled using a
GNU compiler. Since I have a different compiler, I need to get the source
files which were used to get the libmysqlclient libraries, cross compile
them. Then I need to use them to cross compile mysql++ for my target.
So my question would be, where can I get the source files which were used
to generate libysqlclient libraries ?
On Wed, Mar 13, 2013 at 3:23 PM, Warren Young <wyoung@stripped>wrote:
> On Mar 13, 2013, at 1:10 AM, Niranjan M <studywireless@stripped> wrote:
> > **checking for MySQL library directory... configure: error: Didn't find
> > mysqlclient library in '/usr/lib64 /usr/lib /usr/lib64/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'**
> If you read the documentation -- README-Linux.txt in this case -- you'll
> find that it tells you how to use the --with-mysql* switches to tell it
> where the MySQL C API libraries are.
> > How can I install libmysqlclient?
> > Has anyone tried this ?
> MySQL++ has definitely been cross-compiled to various embedded systems,
> and I believe I recall at least one instance where improvements were made
> to MySQL++ specifically for PowerPC. Since I didn't hear back from the guy
> who suggested those improvements, I assume he then succeeded in building
> and using MySQL++ on that platform.
> > How to cross compile mysqlclient for powerpc ?
> This is totally not the right forum to learn how to use your embedded
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe: http://lists.mysql.com/plusplus