/usr/bin/ld: cannot find -lmysqlcppconn

  • From: " " < >
  • To:
  • Subject: /usr/bin/ld: cannot find -lmysqlcppconn
  • Date: Wed, 12 Dec 2012 07:02:10 -0500

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.






/usr/bin/ld: cannot find -lmysqlcppconn

12/12/2012

Re: /usr/bin/ld: cannot find -lmysqlcppconn

paulf 12/12/2012

Re: /usr/bin/ld: cannot find -lmysqlcppconn

Paulo Panhoto 12/12/2012

/usr/bin/ld: cannot find -lmysqlcppconn

12/13/2012

/usr/bin/ld: cannot find -lmysqlcppconn

12/13/2012

Re: /usr/bin/ld: cannot find -lmysqlcppconn

Paulo Panhoto 12/13/2012

Re: /usr/bin/ld: cannot find -lmysqlcppconn

paulf 12/14/2012

/usr/bin/ld: cannot find -lmysqlcppconn

12/14/2012

/usr/bin/ld: cannot find -lmysqlcppconn

12/14/2012

Re: /usr/bin/ld: cannot find -lmysqlcppconn

Paulo Panhoto 12/14/2012

/usr/bin/ld: cannot find -lmysqlcppconn

12/14/2012

Project Features

About this Project

CND was started in November 2009, is owned by DimaZh, and has 187 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close