This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bash: Cannot execute binary file




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]