
August 16th, 2000, 06:25 AM
|
|
Junior Member
|
|
Join Date: Aug 2000
Location: bangalore , karnataka , INDIA
Posts: 1

Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
i have return a C prog to connect to mysql db
to compile i am using the following flags
gcc -L/user/local/lib/mysql -I/usr/local/include/mysql -o a2 a2.c
-lmysql -lnsl -lsocket
when compiled this gives a error like this /usr/bin/ld: cannot open -lmysql: No such file or directory
collect2: ld returnrd 1 exit status
This is the error i am getting.
please help .
Thanks in advance
mailto : tgraghavendra@hotmail.com
|