Could not find working MySQL client library -
12-28-2006
, 09:09 AM
when i install mysql++ use souce. and i type "./configure
--with-mysql-include=/usr/include/mysql
--with-mysql-lib=/usr/lib/mysql". it tell me,checking for
mysql_store_result in -lmysqlclient... no
configure: error: Could not find working MySQL client library!
what can i do. i have search for the same problem ,but i dont get
anser. can anyone help me.
the config.log have recorded these logs."configure:6640: checking for
mysql_store_result in -lmysqlclient
configure:6670: gcc -o conftest -g -O2 -I/usr/include/mysql
-L/usr/lib/mysql conftest.c -lmysqlclient >&5
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25ya SSL7Message+0x8):
undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25ya SSL7Message+0xc):
undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25ya SSL7Message+0x10):
undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25ya SSL7Message+0x14):
undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25ya SSL7Message+0x18):
undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(cert_wrapper.o)(.text+0x77): In
function `yaSSL::x509::~x509(void)':
: undefined reference to `__builtin_delete'
" |