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.20020320183839.00aa2450@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:40:40 -0800 To: cygwin AT cygwin DOT com From: Dan Browning Subject: Re: ./config -luser32 error but copying w32api works. It works I tell you! (setup problem?) In-Reply-To: <20020321023119.GV6552@redhat.com> References: <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20020320181536 DOT 00aa0048 AT mail DOT kavod DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20020320180712 DOT 00a9f9d8 AT mail DOT kavod DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20020320181536 DOT 00aa0048 AT mail DOT kavod DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed At 09:31 PM 3/20/2002 -0500, Christopher Faylor wrote: >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? > >> > >> > >> > >>$ 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 Thanks! Sorry if I was a bit curt on that last one. Now I'm off to figure out why I get "Had to create DBI::_dbistate unexpectedly" errors in perl DBI. +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Dan Browning, Kavod Technologies +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ A LISP programmer knows the value of everything, but the cost of nothing. -- 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/