Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-Id: <5.1.0.14.0.20020320180712.00a9f9d8@mail.kavod.com> X-Sender: dbml AT mail DOT kavod DOT com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 20 Mar 2002 18:09:18 -0800 To: cygwin AT cygwin DOT com From: Dan Browning Subject: Re: ./config -luser32 error, but libuser32.a is in the usr/lib/w32api directory Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed At 08:56 PM 3/20/2002 -0500, you wrote: >At 08:52 PM 3/20/2002, Dan Browning wrote: > >At 05:36 PM 3/20/2002 -0800, you wrote: > >>At 07:27 PM 3/20/2002, Luke J Crook wrote: > >> >Thanks for the help guys, I read the the FAQ and have since uninstalled > >> >Ruby, and deleted everythin in the the c:\Cygwin directory. I decided to > >> >start from scratch. > >> > > >> >However, even after re-installing Cygwin, I still have the same > problem as I > >> >described previously... ld can't find -luser32. Could this be a > possible bug > >> >in the installer? > >> > > >> >The only way I can fix this is by copying the contents of /usr/lib/w32api > >> >into /lib and /usr/lib. > >> > > >> >-Luke > >> > >>Ditto. > >> > >>################################################# > >>## Steps to reproduce: > >>################################################# > >> > >>* Remove old cygwin ("del /s /q c:\cygwin") > >> > >>* Install "All" using the new cygwin installer > >> > >>################################################# > >>## Symptoms > >>################################################# > >> > >>* luser32 is nowhere to be found. (unlike Luke, I do not have a > "/usr/lib/w32api" directory). > > > >Correction: > > > >The "c:\cygwin\usr\lib\w32api" DOES actually exist in windows, but I > could not access that directory within the cygwin shell: > > > >$ cd /usr/lib/w32api > >bash: cd: /usr/lib/w32api: No such file or directory > > > >However, if I copy "c:\cygwin\usr\lib\w32api" to c:\cygwin\lib, then > everything works (like what Luke said). > > > >So what I think we're dealing with here is, "why can't cygwin see the > c:\cygwin\usr\lib\w32api directory"? > > >Sounds like a permissions problem to me. What does ls -l /usr/lib/w32api >show? $ ls -l /usr/lib/w32api ls: /usr/lib/w32api: No such file or directory Perhaps it has something to do with the /usr/lib -> /lib mounting? http://cygwin.com/faq/faq.html#SEC61 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Dan Browning, Kavod Technologies +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Lieberman's Law: Everybody lies, but it doesn't matter since nobody listens. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/