3 messages in com.mysql.lists.plusplusRe: problems linking c++ client
FromSent OnAttachments
danny03 Jul 2002 11:48 
Technical Operations03 Jul 2002 13:04 
danny11 Jul 2002 02:48 
Subject:Re: problems linking c++ client
From:Technical Operations (te@charter.net)
Date:07/03/2002 01:04:21 PM
List:com.mysql.lists.plusplus

Well I originally installed mysql and php and it all worked fine on my linux box server. Now I want my c program (.cgi) to be able to make mysql calls too. But I can't get it to link. It complies ok. It want a library called mysqlclient. I can't find it anywhere. It looks like it is supposed to be in /usr/local/lib/ but what's there is a php directory. Maybe there is a --with-??? command I should have used when I

Did you download and install the MySql client?...it includes the mysqlclient.lib

You will need to do something like,..../gcc myprog.c -lmysqlclient (when mysqlclient.lib is in the same dir)