public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* How to fix the 'cannot find -luser32' problem
@ 2002-03-19 18:55 Logan Benjamin
  0 siblings, 0 replies; 2+ messages in thread
From: Logan Benjamin @ 2002-03-19 18:55 UTC (permalink / raw)
  To: cygwin

I searched high and low and couldn't find anything on how to fix the
error

/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/../../../../i686-pc-cygwin/bin/
ld: cannot find -luser32

So I decided to use my brains and found the files in the directory
C:\cygwin\usr\lib\w32api

So to fix it jump into windows explorer go to C:\cygwin\usr\lib\w32api
and copy all the files into C:\cygwin\usr\lib and C:\cygwin\lib

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to fix the 'cannot find -luser32' problem
       [not found] <FF9597EFADBCD641890C80F3DF29640701983C@three.TECHDYN.LOCAL >
@ 2002-03-19 19:17 ` Jeremy Hetzler
  0 siblings, 0 replies; 2+ messages in thread
From: Jeremy Hetzler @ 2002-03-19 19:17 UTC (permalink / raw)
  To: cygwin

At 02:34 PM 3/20/2002 +1200, you wrote:
>I searched high and low and couldn't find anything on how to fix the
>error
>
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/../../../../i686-pc-cygwin/bin/
>ld: cannot find -luser32
>
>So I decided to use my brains and found the files in the directory
>C:\cygwin\usr\lib\w32api
>
>So to fix it jump into windows explorer go to C:\cygwin\usr\lib\w32api
>and copy all the files into C:\cygwin\usr\lib and C:\cygwin\lib
>
>--
>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/

Others of us who can "use our brains" are somewhat leery of simple 
mass-moving library files around in a package-managed system, unless the 
developers say it won't be harmful. Maybe your solution is benign, but if 
it starts causing subtle gcc errors due to wrongly-versioned files it will 
be impossible to debug. At the very least the need to manually move files 
around is a signal that something has gone wrong in the install process.


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-03-20  2:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-19 18:55 How to fix the 'cannot find -luser32' problem Logan Benjamin
     [not found] <FF9597EFADBCD641890C80F3DF29640701983C@three.TECHDYN.LOCAL >
2002-03-19 19:17 ` Jeremy Hetzler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).