MySQL Forums
Forum List  »  Connector/C++

Mysql + C++ Linking
Posted by: Joseph Fichera
Date: June 16, 2007 02:47PM

I made a C++ program in linux that uses mysql.

When compiling with g++, I get errors like:
undefined reference to `mysql_store_result'

etc.. how do I link lmysqlclient?

Options: ReplyQuote

Written By
Mysql + C++ Linking
June 16, 2007 02:47PM

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.