cannot execute binary file
I have this message (cannot execute binary file) when I try to open a small program (script) in the terminal.
I tried to change permission by "chmod a+x" but nothing change, what I would do to open this small program (script)? |
Hi Wanas,
welcome to LQ. Please send output of following commands, <program> been the program you want to execute: file <program> ls -l <program> |
Hi there,
You might need superuser rights to change the permission for this file. Cheers |
Quote:
"-rwxrwxrwx 1 wanas wanas 551728 2009-04-03 09:37 keygen" this when I run "ls -l" |
Quote:
|
Where did you get this binary file from? Did you compile it by yourself? There is a chance that the file has been compiled for another platform and it can't simply run on yours. Please, post the output of the following command, so we can see what kind of file it is:
Code:
file keygen Code:
uname -a |
Quote:
|
All times are GMT -5. The time now is 09:05 PM. |