compile mysql++ from source on Linux Ubuntu 32-bit

Trying to compile mysql++ from source on Ubuntu 12.10 32-bit: Downloaded most recent version of mysql++ from here. Made sure I had the C API on which mysql++ depends:
sudo apt-get install libmysqlclient-dev
Moved to the mysql++ directory and configured for the mysql installation (note that I found where these were located with this, and got tips from the mysql++ README):
./configure --with-mysql-lib=/usr/lib/i386-linux-gnu --with-mysql-include=/usr/include/mysql
make
sudo make install
And the final output after the install noting install directories:
mkdir -p /usr/local/lib
/usr/bin/install -c -m 644 libmysqlpp.so /usr/local/lib
/usr/bin/install -c libmysqlpp.so.3.2.0 /usr/local/lib
(cd /usr/local/lib ; rm -f libmysqlpp.so libmysqlpp.so.3; ln -s libmysqlpp.so.3.2.0 libmysqlpp.so.3; ln -s libmysqlpp.so.3 libmysqlpp.so)
mkdir -p /usr/local/include/mysql++
(cd . ; /usr/bin/install -c -m 644  lib/*.h /usr/local/include/mysql++)

Comments