From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5624 invoked by alias); 2 Nov 2011 11:01:06 -0000 Received: (qmail 5605 invoked by uid 22791); 2 Nov 2011 11:01:05 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,TW_YG X-Spam-Check-By: sourceware.org Received: from csmail.cs.umass.edu (HELO csmail.cs.umass.edu) (128.119.240.177) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 02 Nov 2011 11:00:47 +0000 Received: from [192.168.0.6] (c-71-192-247-69.hsd1.ma.comcast.net [71.192.247.69]) by csmail.cs.umass.edu (Postfix) with ESMTPSA id E939E20000160C50A9; Wed, 2 Nov 2011 07:00:45 -0400 (EDT) Message-ID: <4EB122D6.3070003@cs.umass.edu> Date: Wed, 02 Nov 2011 11:01:00 -0000 From: Eliot Moss Reply-To: moss@cs.umass.edu User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: cannot execute binary file References: <1320152408.5480.93.camel@kare-desktop> <1320221416.5480.118.camel@kare-desktop> <4EB10244.3000901@gmail.com> In-Reply-To: <4EB10244.3000901@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-11/txt/msg00028.txt.bz2 On 11/2/2011 3:41 AM, Marco Atzeri wrote: > 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 An additional thought is to use strace to see the exact sequence of OS calls and results. You would strace bash and type your command at bash, then examine the strace output ... Eliot Moss -- 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