MySQL Forums
Forum List  »  Connector/C++

/usr/bin/ld: cannot find -lmysqlcppconn
Posted by: Vusi Sindane
Date: December 12, 2012 02:17AM

Hi

New in c++ and im trying to connect to mysql database did in java works fine.when to do it in c++ project followed all the instruction from http://planet.mysql.com/entry?id=18341;but it gives me this error.

g++ -o dist/Debug/GNU-Linux-x86/cppapplication_2 build/Debug/GNU-Linux-x86/main.o -L/usr/local/lib -L/usr/local/include/mysql-connector-c++-1.0.5-linux-glibc2.3-x86-32bit -lmysqlcppconn -lmysqlcppconn-static -lmysql -lmysqlclient
/usr/bin/ld: cannot find -lmysqlcppconn
/usr/bin/ld: cannot find -lmysqlcppconn-static
/usr/bin/ld: cannot find -lmysql
/usr/bin/ld: cannot find -lmysqlclient

Please help my boss wants this c++ for what reason i dnt know.

Options: ReplyQuote


Subject
Views
Written By
Posted
/usr/bin/ld: cannot find -lmysqlcppconn
3775
December 12, 2012 02:17AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.