Mail Archives: cygwin/2002/03/20/21:22:51
At 06:09 PM 3/20/2002 -0800, you wrote:
>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?
>
><I'll try to remember to do reply all instead of reply next time>
>
>$ 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
# It exists if I use the /cgydrive... method:
$ ll /cygdrive/c/cygwin/usr/lib/w32api
total 5704
-rw-r--r-- 1 dpbrowni None 408608 Dec 7 06:51 libadvapi32.a
-rw-r--r-- 1 dpbrowni None 4254 Dec 7 06:51 libcap.a
-rw-r--r-- 1 dpbrowni None 94488 Dec 7 06:51 libcomctl32.a
-rw-r--r-- 1 dpbrowni None 19752 Dec 7 06:51 libcomdlg32.a
-rw-r--r-- 1 dpbrowni None 20062 Dec 7 06:51 libctl3d32.a
-rw-r--r-- 1 dpbrowni None 5122 Dec 7 06:51 libd3dim.a
[...]
# But not regular ls:
$ ls /usr/lib/w32api
ls: /usr/lib/w32api: No such file or directory
# I don't know if the mount output helps at all:
$ mount
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
c: on /cygdrive/c type user (binmode,noumount)
d: on /cygdrive/d type user (binmode,noumount)
e: on /cygdrive/e type user (binmode,noumount)
k: on /cygdrive/k type user (binmode,noumount)
I had an extra cygwin.dll in c:\mysql\bin, but I got rid of that and the
same problem.
As far as permissions, here is a look through /cygdrive's eyes:
$ ll /cygdrive/c/cygwin/usr/lib
total 457
-rw-r--r-- 1 dpbrowni None 408560 Apr 25 2001 libglui.a
-rw-r--r-- 1 dpbrowni None 26402 Apr 25 2001 libgluix.a
drwxr-xr-x 2 dpbrowni None 0 Mar 20 16:58 mingw
drwxr-xr-x 2 dpbrowni None 32768 Mar 20 17:01 w32api
And the windows permissions matched other cygwin directories I've seen
(Everyone = Full Control, owned by my group: DANB3\Administrators).
I hope that helps,
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Dan Browning, Kavod Technologies <db AT kavod DOT com>
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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/
- Raw text -