Re: undefined reference to 'mysql_init'

2006-07-23 Thread luiz Rafael
Hi Ali Hi, I am begeener to MySQL. I have installed Suse10 and MySQL and mysql++ in my pc. i want to connect to MySQL through C. When I am compiling the program, I am getting the following error. *** compile your app wi

Re: undefined reference to 'mysql_init'

2006-07-23 Thread Mike Aubury
Try gcc -o test test.c -lmysqlclient On Sunday 23 July 2006 13:14, ali asghar torabi parizy wrote: > Hi, >I am begeener to MySQL. I have installed Suse10 and MySQL and mysql++ > in my pc. > > i want to connect to MySQL through C. When I am compiling the program, > I am getting the foll