delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/13/23:10:50

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <60851.71.32.87.9.1213413024.squirrel@webmail.efn.org>
In-Reply-To: <182dc94a0806130223y124a5df6s255259ff7133613d@mail.gmail.com>
References: <182dc94a0806130223y124a5df6s255259ff7133613d AT mail DOT gmail DOT com>
Date: Fri, 13 Jun 2008 20:10:24 -0700 (PDT)
Subject: Re: Ugrent !! Reg. Executing the EXE generated by Cygwin
From: "Yitzchak Scott-Thoennes" <sthoenna AT efn DOT org>
To: cygwin AT cygwin DOT com
User-Agent: SquirrelMail/1.5.1
MIME-Version: 1.0
X-IsSubscribed: yes
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 Fri, June 13, 2008 2:23 am, Mani kandan wrote:
> 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?
>
> The most likely reason and the solution for it were already provided to
> you by Cygwin itself.  See above.  Have you read and performed those
> instructions?
>
> ===========================================
>
>
> 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??

You have misunderstood the problem.  It has nothing to do with
incompatibilities between the dll used to build an exe and to run it.
The problem is having multiple versions of the dll running on the same
machine at the same time.  Please re-read cygwin's advice with this
in mind.


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