delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/07/02:24:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Thu, 7 Oct 2004 02:24:31 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Spurious "You have multiple copies of cygwin1.dll on your system."
Message-ID: <20041007062431.GA7398@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20041007044929 DOT 5ECFA84CB4 AT pessard DOT research DOT canon DOT com DOT au>
Mime-Version: 1.0
In-Reply-To: <20041007044929.5ECFA84CB4@pessard.research.canon.com.au>
User-Agent: Mutt/1.4.1i

On Thu, Oct 07, 2004 at 02:49:29PM +1000, luke DOT kendall AT cisra DOT canon DOT com DOT au wrote:
>After installing Cygwin by using a shell script running by executing
>bash from a network-installed Cygwin, the script fails when it tries to
>run a post-install script.  The error reported is:
>
>    bash-2.05b$ post-install.sh -which latest -fresh
>    c:\cygwin\bin\bash.exe (3208): *** cygheap version mismatch detected - 0x616D000
>    0/0x61780000.
>    You have multiple copies of cygwin1.dll on your system.
>    Search for cygwin1.dll using the Windows Start->Find/Search facility
>    and delete all but the most recent version.  The most recent version *should*
>    reside in x:\cygwin\bin, where 'x' is the drive on which you have
>    installed the cygwin distribution.
>
>A search showed that there really is only c:\cygwin\bin\cygwin1.dll -
>the message is wrong.
>
>I'd say the sanity-check is detecting cygwin1.dll associated with the
>bash that's running from the network-mounted drive.

You wouldn't say that if you knew what "cygheap" was.  This is an indication
that a child executable is detecting that its cygheap is not at the same
location as the parent.  Since the cygheap lives at the end of the cygwin DLL
it's hard to see how this could be anything other than two different versions
of cygwin being invoked.

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