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

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

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.