Linking to which mySQL library?

Reini Urban rurban@x-ray.at
Sat Jun 19 07:01:00 GMT 2004


Eddy Steevens schrieb:
> gcc -I/usr/local/include/mysql -L/usr/lib -L/usr/local/lib/mysql -lmysql 
> myTest.c -o myTest.exe
> /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: 
> cannot
> find -lmysql

you need -lmysqlclient
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list