Why does executing a third party binary file show "File not found" error even if it's there?
Issue
- While executing the following command, the error appear.
$ ls -lrat install_linux
-r-xr-xr-x 1 root root 1519664 Feb 26 11:58 install_linux
$ ./install_linux
-ksh: ./install_linux: not found [No such file or directory]
- Also running it with
rootuser, it shows the following error.
# ./install_linux
/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Environment
- Red Hat Enterprise Linux 7.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.