Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

/usr/bin/ld: cannot find -lmysqlcppconn (no replies)

$
0
0
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.

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>