On Oct 13, 2008, at 10:26 PM, Mark Easton wrote:
> g++ -o test_cpool test_cpool_cpool.o -L. -lmysqlclient -
> ./libmysqlpp.so: undefined reference to `mysql_thread_end'
> ./libmysqlpp.so: undefined reference to `mysql_set_server_option'
Are you sure you have only one libmysqlclient on your system? Older
Red Hattish Linuxen come with MySQL 3.23, so if that's still around,
you could be getting symptoms like this. There can be only one.
Also, if you've built MySQL from source, try installing the official
RPMs from mysql.com instead.