From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kirth To: earnie_boyd@yahoo.com, Kirth , cygwin@sourceware.cygnus.com Subject: Re: ld problems Date: Wed, 22 Mar 2000 05:28:00 -0000 Message-id: <20000322132534.A10746@white.hole.org> References: <20000322132240.5508.qmail@web111.yahoomail.com> X-SW-Source: 2000-03/msg00527.html 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@yahoo.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: < mailto:earnie_boyd@yahoo.com > > __Cygwin: POSIX on Windows__ > Cygwin Newbies: < http://www.freeyellow.com/members5/gw32/index.html > > __Minimalist GNU for Windows__ > Mingw32 List: < http://www.egroups.com/group/mingw32/ > > Mingw Home: < http://www.mingw.org/ > > > __________________________________________________ > 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@sourceware.cygnus.com > -- Kirth i-docs.org - interactive Documentation (i-D) kirth@i-docs.org www.oal.co.uk - Octopus Associates Ltd (OAL) kirth@oal.co.uk www.cu3ed.net - Cubed kirth@cu3ed.net www.worldpop.com - WorldPop Ltd (Consultant) kirth@worldpop.com black.hole.org - Personal Pages kirth@hole.org -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com