RE: accessing mysql from C

2002-11-08 Thread Sean Moshenko
No.286 [mailto:rahul@;gdit.iiit.net] Sent: Friday, November 08, 2002 11:34 AM To: [EMAIL PROTECTED] Subject: accessing mysql from C whenever i try to execute a C file which uses the mysql_connect method i get the following error. undefined reference to mysql_connect Please note that I have tried the

Re: accessing mysql from C

2002-11-08 Thread Gelu Gogancea
ddress : [EMAIL PROTECTED] [EMAIL PROTECTED] - Original Message - From: "Rahul Amaram-RollNo.286" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 08, 2002 6:34 PM Subject: accessing mysql from C > whenever

Re: accessing mysql from C

2002-11-08 Thread Paul DuBois
At 22:04 +0530 11/8/02, Rahul Amaram-RollNo.286 wrote: whenever i try to execute a C file which uses the mysql_connect method i get the following error. mysql_connect() is obsolete. Use mysql_real_connect() instead. undefined reference to mysql_connect Please note that I have tried th

accessing mysql from C

2002-11-08 Thread Rahul Amaram-RollNo.2000086
whenever i try to execute a C file which uses the mysql_connect method i get the following error. undefined reference to mysql_connect Please note that I have tried the following options. gcc -lmysqlclient file.c gcc -L /usr/lib/mysql -lmysqlclient file.c gcc -L /usr/lib/mysql -I /usr/incl