This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: How to fix the 'cannot find -luser32' problem
- From: Jeremy Hetzler <felixmendelssohnn at earthlink dot net>
- To: cygwin at cygwin dot com
- Date: Tue, 19 Mar 2002 22:01:41 -0500
- Subject: Re: How to fix the 'cannot find -luser32' problem
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/