This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Bash: Cannot execute binary file
- From: Eliot Moss <moss at cs dot umass dot edu>
- To: cygwin at cygwin dot com
- Date: Mon, 28 Mar 2011 20:31:19 -0500
- Subject: Re: Bash: Cannot execute binary file
- References: <31263793.post@talk.nabble.com>
- Reply-to: moss at cs dot umass dot edu
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