Ubuntu – Executable not running even after chmod’ing it

chmodexecutable

I am trying to run a BETA precompiled copy of rcracki, but the problem is when I try to run the executable, it gives an error:

root@hosted-by:~/Desktop/rcracki_mt_0.7_beta2_linux_x86_64# ls
COPYING             INSTALLING.txt  charset.txt    libcudart.so.2
libstdc++.so.6      rcracki_mt.ini  ChangeLog.txt  README.txt
libcrypto.so.0.9.8  libgcc_s.so.1   rcracki_mt

root@hosted-by:~/Desktop/rcracki_mt_0.7_beta2_linux_x86_64# sudo chmod +rwx cracki_mt

root@hosted-by:~/Desktop/rcracki_mt_0.7_beta2_linux_x86_64# ./rcracki_mt
bash: ./rcracki_mt: No such file or directory`

root@hosted-by:~/Desktop/rcracki_mt_0.7_beta2_linux_x86_64# sudo ./rcracki_mt`
sudo: unable to execute ./rcracki_mt: No such file or directory

So does anyone have a clue as to why Ubuntu gives this error? I mean the file is right here, so the error doesn't make sense!

By the way, I'm using Ubuntu 10.04.

Best Answer

I had the same problem on my 64-bit machine when I downloaded file for 32-bit platform. Unfortunately you donĀ“t see any error message if you try to execute such a file.

Check your file type using file command e.g.:

32-bit

N56VZ:~$ file /opt/eclipse/eclipse
eclipse: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), 
dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped

64-bit

N56VZ:~$ file /opt/eclipse/eclipse
eclipse: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), 
dynamically linked (uses shared libs), for GNU/Linux 2.4.0, not stripped