This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Linking to which mySQL library?
- From: Reini Urban <rurban at x-ray dot at>
- To: Eddy Steevens <esteevens at hotmail dot com>
- Cc: cygwin at cygwin dot com
- Date: Sat, 19 Jun 2004 08:20:11 +0200
- Subject: Re: Linking to which mySQL library?
- References: <BAY18-F49VBfS34y4Qp000208c5@hotmail.com>
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/