delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/28/21:37:37

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,TW_RW,TW_WX,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <31263824.post@talk.nabble.com>
Date: Mon, 28 Mar 2011 18:37:27 -0700 (PDT)
From: independentt <independentt AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Bash: Cannot execute binary file
In-Reply-To: <4D913667.9070006@cs.umass.edu>
MIME-Version: 1.0
References: <31263793 DOT post AT talk DOT nabble DOT com> <4D913667 DOT 9070006 AT cs DOT umass DOT edu>
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



Eliot Moss wrote:
> 
> On 3/28/2011 8:27 PM, independentt wrote:
>>
>> Ok here is my problem I used to be able to run bIRCD on a shell before.
>> But
>> now first time I try cygwin, I WGET
>> http://ircd.bircd.org/bewareircd-linux.tar.gz and unzip it, edit the
>> config
>> files. And now I try to execute it using (.) ./BIRCD and it says BASH:
>> Cannot execute binary file. I have full access to the file and when I
>> type
>> file bircd it says ELF 32-bit LSB executable, Intel 80386, version 1
>> (GNU/Linux), statically linked, stripped.
>> I am a windowsx86 vista user
> 
> I could be off-base, but two quick thoughts:
> 
> 1) Do the file permissions include x (executable) permission
> as shown by ls -l?
> 
> 2) Above you used ./BIRCD and bircd interchangeably for the names,
> but in cygwin names can be case-sensitive. Have you tried the
> case (upeer vs. lower) of the letters of the name exactly as
> ls reports?
> 
> Best wishes -- 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
> 
> 
> 

ls -l bircd  shows this message
-rwxr-xr-x 1 Admin01 None 577660 Aug 13  2010 bircd

I meant i did ./bircd in the fist case

Thanks for reply

-- 
View this message in context: http://old.nabble.com/Bash%3A-Cannot-execute-binary-file-tp31263793p31263824.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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