X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Sun, 30 Aug 2009 12:20:28 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Why can not find libmysql.so but libmysql.a Message-ID: <20090830162028.GB32386@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <25210249 DOT post AT talk DOT nabble DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <25210249.post@talk.nabble.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Sun, Aug 30, 2009 at 03:13:04AM -0700, runbirder wrote: > >MYSQL_INC=/usr/mysql-connector-c-6.0.2-linux-glibc2.3-x86-32bit/include >MYSQL_LIB=/usr/mysql-connector-c-6.0.2-linux-glibc2.3-x86-32bit/lib >all: > gcc -I${MYSQL_INC} -c testmain.c > gcc -o testmain.exe testmain.o -L${MYSQL_LIB} -lmysql >/////////////////////////////////////////////////////////////// >when I complie it cannot find libmysql.so, but if I create libmysql.a then >it can find that >so under the Cygwin, the ld can not link to *.so file??? >hope your reply Cygwin doesn't use .so files. Windows uses .dll files. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple