MySQL Connector Linker Problem
Posted
by Layne
on Stack Overflow
See other posts from Stack Overflow
or by Layne
Published on 2010-05-23T11:55:37Z
Indexed on
2010/05/23
12:01 UTC
Read the original article
Hit count: 418
Hey, I'm trying to compile a program with the MySQL C++ Connector but somehow I can't get the linking right.
The errors I get are:
mysql/lib/libmysqlcppconn.so: undefined reference to `std::ios_base::ios_base()@GLIBCPP_3.2'.... etc
locations:
libmysqlcppconn.so: mysql/lib/
libmysqlclient.so: /usr/lib/
I tried to follow the tutorial on mysql and some other pages but the results where the same, maybe I missed something.
© Stack Overflow or respective owner