delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/11/02/04:42:50

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_YG
X-Spam-Check-By: sourceware.org
Message-ID: <4EB10244.3000901@gmail.com>
Date: Wed, 02 Nov 2011 09:41:40 +0100
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cannot execute binary file
References: <1320152408 DOT 5480 DOT 93 DOT camel AT kare-desktop> <1320221416 DOT 5480 DOT 118 DOT camel AT kare-desktop>
In-Reply-To: <1320221416.5480.118.camel@kare-desktop>
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

On 11/2/2011 9:10 AM, Edvardsen KÃ¥re wrote:
>
> Are there any debug options or logs to check when you get "cannot
> execute binary file"?
>
> Cheers,
> KÃ¥re

- if is it a permission problem you need to check the ACL permissions
  see getfacl or ACL permission from windows explorer

- if you are missing dll's, you can check with:
   cygcheck ./nome_of_your_file
   ldd ./nome_of_your_file

Regards
Marco


>
> On ti., 2011-11-01 at 13:00 +0000, Edvardsen KÃ¥re wrote:
>> On ti., 2011-11-01 at 07:28 -0500, Eliot Moss wrote:
>>> On 11/1/2011 5:24 AM, Edvardsen KÃ¥re wrote:
>>>> I've built from source (gfortran) an application that won't run (cannot
>>>> execute binary file) and the "file" command prompts: PE32 executable
>>>> (console) Intel 80386, for MS Windows. (Yes, chmod 755 is set for the
>>>> executable...)
>>>
>>> Here's a wondering: Are the necessary dll's installed properly?
>>> Maybe you would see this if the program cannot link its libraries
>>> during startup ...
>>>
>>> Regards -- Eliot Moss
>>
>> I did "rebaseall" after installing a couple of necessary lib's.
>>
>> All compiling (configure, make etc) goes like nothing's wrong (just a
>> few harmless warnings known for ages for this software). The only real
>> error displayed is the: cannot execute binary file.
>>
>> I'll try to reinstall cygwin as admin to see if things change.
>>
>> Cheers,
>> KÃ¥re
>>
>


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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