X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD,TW_YG
X-Spam-Check-By: sourceware.org
X-DKIM: Sendmail DKIM Filter v2.8.3 mux2.uit.no pA2A4VVc038097
From: =?utf-8?B?RWR2YXJkc2VuIEvDpXJl?= <kare.edvardsen@uit.no>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
CC: "marco.atzeri@gmail.com" <marco.atzeri@gmail.com>
Subject: Re: cannot execute binary file
Date: Wed, 2 Nov 2011 10:04:30 +0000
Message-ID: <1320228246.5480.124.camel@kare-desktop>
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id pA2A531H024000

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

cygcheck ./actual_exec_file

returns a list of dll's - no error message or anything, just a list of
dll's

ldd ./actual_exec_file

returns "ldd: ./actual_exec_file.exe: Excec format error"

Never seen that one before...

Cheers,
Kåre

