Possible Duplicate:
Getting “Not found” message when running a 32-bit binary on a 64-bit system
Ok I feel like I'm having some sort of brain fade moment, please help me out.
I just installed Unreal Tournament on my Linux Mint Debian Edition OS. The startup script was complaining about a missing file so I decided to check it out manually.
~/Desktop $ ut
/usr/local/bin/ut: 78: ./ut-bin: not found
~/Desktop $ cd /usr/local/games/ut/System/
/usr/local/games/ut/System $ ls -l ut-bin
-rwxrwxr-x 1 root staff 91336 Jan 28 11:33 ut-bin
/usr/local/games/ut/System $ ./ut-bin
bash: ./ut-bin: No such file or directory
ut-bin is a binary executable according to the file command. Why is bash complaining about a missing file? I tried executing it in another shell and got a similar error. I also launched a new terminal with no change.
What am I missing here?
bashcan't do anything about it (except guessing, which would be even worse). On Linux, execve(2) returnsENOENTwhen the file filename or a script or ELF interpreter does not exist, or a shared library needed for file or interpreter cannot be found. So the proper place to fix this would be the execve system call, not bash. – Ansgar Esztermann Jan 30 '12 at 10:46