Running a custom-compiled executable returns "No such file or directory"
0
votes
1
answer
2280
views
I have an executable but when I run it I get *"No such file or directory"*
$ chmod a+x bin
$ file bin
bin: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/ld64.so.1, not stripped
$ ./bin
bash: ./bin: No such file or directory
Notice that this executable is in fact ELF 64-bit, as is the operating system.
Asked by Evan Carroll
(34663 rep)
Oct 1, 2018, 11:04 PM
Last activity: Oct 1, 2018, 11:05 PM
Last activity: Oct 1, 2018, 11:05 PM