2014年(7)
分类: LINUX
2014-11-30 20:35:52
There is a lack of documentation on how to do this, I guess they assume that you must know a lot IF you are trying to use this library.
But here are step by step instructions on how to do it.
What you need
Root access to your server.
An SSH client, like , it’s free.
Let’s do it
1 – Run your SSH client and connect to your server using root.
2 – Do:
cd /
Note: I always make a folder like this
mkdir Tools
cd Tools
Note: This is version 3.0.9 obviously, it’s best if you check this web page and download the latest source code:
wget releases/mysql++-3.0.9.tar.gz
tar xvfz mysql++-3.0.9.tar.gz
cd mysql++-3.0.9
./configure
make
make install
3 – Now, in order for:
To work, you will have to add a line to your ld.so.conf; you will find this file (hopefully) in /etc so go to:
/etc
And edit ld.so.conf and add this line to the end of it:
/usr/local/lib
Note: If ld.so.conf is not in /etc you can try “whereis ld.so.conf” (no quotes)
Save it and run:
ldconfig
And you are all set.
Please also note that, this worked on my CentOS and might not work exactly like this on your distribution.