delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/13/14:18:55

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Mark Geisert <mark AT maxrnd DOT com>
Subject: Re: Ugrent !! Reg. Executing the EXE generated by Cygwin
Date: Fri, 13 Jun 2008 18:18:02 +0000 (UTC)
Lines: 30
Message-ID: <loom.20080613T180929-491@post.gmane.org>
References: <182dc94a0806130223y124a5df6s255259ff7133613d AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Mani kandan writes: 
> This problem is probably due to using incompatible versions of the cygwin DLL.
> > 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.  Rebooting is also suggested if you
> > are unable to find another cygwin DLL.
> >
> > We have made sure that we use the same version of cygwin1.dll while
> > building the exe and while running it on the server.
> > What are the possible reasons for this? Are there any other solutions to 
this?
[...]
> Yes, we have read and performed those instruction. We have placed the
> cygwin1.dll in current working folder which is inside the
> c:\cygwin\bin folder while generating  the exe. We have checked the
> size of the dll also. Both are same size .
> Then wt are the possible reasons for this problem??

I must be missing some critical detail in your description.  Are you talking 
about two different machines, building an EXE on one and then running it on 
another?  What do you mean by "placing cygwin1.dll in the current working 
folder"?

There can be only one cygwin1.dll on the machine, put where it's supposed to be 
by using the Cygwin setup.exe.  You can't just put another copy of cygwin1.dll 
somewhere else on that machine.

..mark


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