MySQL Forums
Forum List  »  Connector/C (libmysql)

undefined reference to `mysql_get_client_info'
Posted by: Bob Smith
Date: October 24, 2017 05:57PM

I keep getting this message.

undefined reference to `mysql_get_client_info'

From what I can figure out when I google it I am not linking correctly. So I tried this.

gcc *.c -L"C:\Program Files\MySQL\MySQL Server 5.7\lib"

Can I please get some help on what I am doing wrong?

Options: ReplyQuote


Subject
Views
Written By
Posted
undefined reference to `mysql_get_client_info'
76
October 24, 2017 05:57PM


Sorry, only registered users may post in this forum.

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.