./config -luser32 error, but libuser32.a is in the usr/lib/w32api directory

Dan Browning dbml@kavod.com
Wed Mar 20 18:08:00 GMT 2002


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"?

Thanks again,

+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Dan Browning, Kavod Technologies <db@kavod.com>
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"I went to the museum where they had all the heads and arms from the
statues that are in all the other museums."
                 -- Steven Wright


--
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/



More information about the Cygwin mailing list