Mail Archives: cygwin/2002/03/20/21:32:23
On Wed, Mar 20, 2002 at 06:23:35PM -0800, Dan Browning wrote:
>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
So, this does sound like a setup.exe problem after all. Looks like I
was wrong.
Somehow setup.exe is bypassing the mount table and putting stuff
directly in c:/cygwin/usr/lib/w32api rather than in c:/lib/w32api.
So, the *correct* solution is to
mv /cygdrive/c/cygwin/usr/lib/w32api /cygdrive/c/cygwin/lib
Robert, I hope you're reading this.
cgf
--
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 -