this is my c program
#include <my_global.h>
#include <mysql.h>
int main(int argc, char **argv)
{
printf("MySQL client version: %s\n", mysql_get_client_info());
exit(0);
}
Whenever i tried compile it shows the following error
helloworld.o: In function `main':
helloworld.c:(.text.startup+0x8): undefined reference to `mysql_get_client_info'
collect2: error: ld returned 1 exit status
how to overcome this error