delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/19/21:56:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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.2.20020319215307.00ac2450@mail.earthlink.net>
X-Sender:
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Tue, 19 Mar 2002 22:01:41 -0500
To: cygwin AT cygwin DOT com
From: Jeremy Hetzler <felixmendelssohnn AT earthlink DOT net>
Subject: Re: How to fix the 'cannot find -luser32' problem
In-Reply-To: <FF9597EFADBCD641890C80F3DF29640701983C@three.TECHDYN.LOCAL
>
Mime-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019