> > -ldb -L/usr/lib/ -L/usr/lib/mysql --library=libmysqlclient > ^^^^^^^^^^^^^^^^^^^^^^^^ > Shouldn't it be -lmysqlclient ?