Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <20000322132534.A10746@white.hole.org> Date: Wed, 22 Mar 2000 13:25:34 +0000 From: Kirth To: earnie_boyd AT yahoo DOT com, Kirth , cygwin AT sourceware DOT cygnus DOT com Subject: Re: ld problems References: <20000322132240 DOT 5508 DOT qmail AT web111 DOT yahoomail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 In-Reply-To: <20000322132240.5508.qmail@web111.yahoomail.com>; from Earnie Boyd on Wed, Mar 22, 2000 at 05:22:40AM -0800 X-Mailer: Mutt http://www.mutt.org/ X-Editor: Vim http://www.vim.org/ X-Info: http://black.hole.org/ unfortuanlty the same thing g++ -o ffind config.o sql.o query.o parseword.o ffind.o -L/usr/local/lib/mysql -lmysqlclient /cygnus/CYGWIN~1/H-I586~1/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../../../../i5 86-cygwin32/bin/ld: cannot open -lmysqlclient: No such file or directory collect2: ld returned 1 exit status make: *** [ffind] Error 1 ive even tried with -L./ and put the file in the same dir ive renamed it mysqlclient, mysqlclient.so, mysqlclient.a ... all fail. i read something in the mailing list about removing collect2 so that ld gets run directly, but i dont have a collect2 file (at all) Thanks * Earnie Boyd (earnie_boyd AT yahoo DOT com) [000322 13:20]: > --- Kirth wrote: > > I saw this was covered last month in the mailing lists, and the > > recommendation was to upgrade binutils. > > Well heres the error first > > > > bash-2.02$ make > > g++ -L/usr/local/lib/mysql -o ffind config.o sql.o query.o parseword.o > > ffind.o > > -lmysqlclient > > I'm not saying this will help but since switch position matters, what happens > if you move the -L/usr/local/lib/mysql to just before the -lmysqlclient? > > > > ===== > --- > Earnie Boyd: > __Cygwin: POSIX on Windows__ > Cygwin Newbies: > __Minimalist GNU for Windows__ > Mingw32 List: > Mingw Home: > > __________________________________________________ > Do You Yahoo!? > Talk to your friends online with Yahoo! Messenger. > http://im.yahoo.com > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com > -- Kirth i-docs.org - interactive Documentation (i-D) kirth AT i-docs DOT org www.oal.co.uk - Octopus Associates Ltd (OAL) kirth AT oal DOT co DOT uk www.cu3ed.net - Cubed kirth AT cu3ed DOT net www.worldpop.com - WorldPop Ltd (Consultant) kirth AT worldpop DOT com black.hole.org - Personal Pages kirth AT hole DOT org -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com