Helpful Information
 
 
Category: Java Help
mysql with c api ( not connecting )

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










privacy (GDPR)