💾 Archived View for bbs.geminispace.org › u › stack › 5051 captured on 2023-09-08 at 16:46:20. Gemini links have been rewritten to link to archived content

View Raw

More Information

➡️ Next capture (2023-09-28)

-=-=-=-=-=-=-

Re: "binary file reported as 'no such file or directory' upon execution"

Comment in: s/Linux

I won't be able till tomorrow.

🚀 stack

2023-09-02 · 7 days ago

1 Later Comment

😈 dimkr

dpkg --add-architecture i386 && apt update && apt install libc6:i386 should fix this, if this is Debian or a derivative like Ubuntu. This is the error you get when you run a 32-bit executable on a 64-bit OS but the 32-bit loader (part of glibc) is missing.

Original Post

🌒 s/Linux

binary file reported as 'no such file or directory' upon execution — This has to be the weirdest behavior ever. A small utility that works fine on my main machine was copied over to my Thinkpad, running identical XUbuntu. Fails on ThinkPad only I can ls it, permissions are fine, even HD and objdump look reasonable. When I try to invoke it from command line, bash reports that it does not exist. strace shows execve with correct path, craps with ENOENT (no such file or directory) It's like it...

💬 stack · 12 comments · 2023-09-01 · 7 days ago