delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/26/13:07:33

X-Spam-Check-By: sourceware.org
Date: Sat, 26 May 2007 13:07:12 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: multiple cygwin1.dll message
Message-ID: <20070526170712.GA18329@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4657D057 DOT 4090502 AT earthlink DOT net> <20070526145859 DOT GA3313 AT ednor DOT casa DOT cgf DOT cx> <n2m-g DOT 325e20f89d73c895d99cc7a3cc71263f AT crystal DOT laburec DOT de> <46585D7D DOT 1070805 AT earthlink DOT net>
Mime-Version: 1.0
In-Reply-To: <46585D7D.1070805@earthlink.net>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Sat, May 26, 2007 at 12:17:01PM -0400, John wrote:
>I finally got rid of c:\windows\system32\cygwin1.dll by cd-ing there in
>cygwin, seeing it (finally!) and deleting it.  It wouldn't delete
>because it was write protected, but it prompted me for Y/N, and Y got
>rid of it.  (perhaps the developers could add this test/prompt during
>normal upgrade/installs when it prompts for deleting it?  Would have
>saved the day for me!).  Anyway, a Windows search did not find it, I
>didn't visually see it in the directory, and my cygwin "find" I may
>have missed the filesystem in cygwin's nomenclature.  But it did seem
>to be "hidden" in Windows.

So to recap:

1) There was no reason to do a Windows search since two tools told you
exactly where the offending DLL was.

2) You didn't need to use Cygwin to get rid of it.  Any windows tool would
have sufficed.

3) You previously installed a poorly-behaved 3PP which installed
cygwin1.dll in a non-recommended location and then compounded the
problem by hiding it.  The Cygwin DLL in c:\windows\system32 was not
placed there by any official cygwin package.

>However, my Bourne shell script has broken.  Sigh.  If I can't figure
>that out I'll post a new query.

My crystal ball says that you probably have \r\n line endings in some shell
script.  You can install dos2unix to eliminate these.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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