"No such file or directory" when try to run a binary file

I try to run binary file “ntgrrc-v0.7.1-linux-amd64” file from config folder but i get:

-bash: ./ntgrrc: No such file or directory

I try file editor addon “execute shell command”, terminal & SSH addon and also home assistant shell_command but with no success.

I try changing file permissions but i’m still getting the same error.

The binary file is compiled from golang.

With ldd ./ntgrrc i get:

        /lib64/ld-linux-x86-64.so.2 (0x7f8939014000)
        libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f8939014000)
        libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f8939014000)

My setup:
HASSOS
Home Assistant 2022.11.5
Supervisor 2022.11.2
Operating System 9.3
Έκδοση Frontend: 20221108.0 - latest

Generic x86-64

I also read this issue, but i don’t know if i’m in the same boat here.

Is there any way to run this binary from hassos? I guess that could be possible using installation with host access but this is not my choice for now.

Αny help would be appreciated.

Hi,
I have the same problem.
I try to launch vlc from a shell command.
If I call the shell command in settings / services windows, I have :

stdout: 
stderr: "./MaPshell.sh: line 12: /bin/vlc: No such file or directory"
returncode: 127

I tried with a symbolic link in /config directory…same thing
An idea ?
Thanks

my configuration:

  • Core2024.6.4
  • Supervisor2024.06.0
  • Operating System
  • Interface utilisateur20240610.1