I'm getting an error while executing a binary that the binary cannot be found. I can see it using other commands.
>> ls -alh
total 1.3M
drwxr-xr-x 3 igor 4.0K Sep 28 15:53 .
drwxr-xr-x 3 igor 4.0K Sep 28 15:53 ..
drwxr-xr-x 2 igor 4.0K Jun 4 09:24 autocomplete
-rw-r--r-- 1 igor 13K Jun 4 09:24 CHANGELOG.md
-rwxr-xr-x 1 igor 1.2M Jun 4 09:24 hyperfine
-rw-r--r-- 1 igor 9.8K Jun 4 09:24 hyperfine.1
-rw-r--r-- 1 igor 12K Jun 4 09:24 LICENSE-APACHE
-rw-r--r-- 1 igor 1.1K Jun 4 09:24 LICENSE-MIT
-rw-r--r-- 1 igor 9.8K Jun 4 09:24 README.md
but when I run the command, I get the following error:
>> ./hyperfine --version
zsh: no such file or directory: ./hyperfine
Both commands were run in the same directory, I'm using RHEL8, and tried in bash/zsh with no luck, tried other commands like cat
and vi
. They seem to find the binary and open it but the execution fails.
Can anyone please advise what may be the issue here? What am I missing?
Thank you very much
file ./hyperfine
output? Did you build the binary yourself, or did you copy it over from somewhere? What architecture are you running on (the output ofuname -m
)?