๐Ÿ’พ Archived View for bbs.geminispace.org โ€บ u โ€บ stack โ€บ 5033 captured on 2023-12-28 at 16:34:18. Gemini links have been rewritten to link to archived content

View Raw

More Information

โฌ…๏ธ Previous capture (2023-11-14)

โžก๏ธ Next capture (2024-02-05)

๐Ÿšง View Differences

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

Comment by ๐Ÿš€ stack

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

In: s/Linux

./fasmlist: ELF 32-bit LSB pie executable, Intel 80386, version 1 (SYSV), dynamically linked, 
interpreter /lib/ld-linux.so.2, BuildID[sha1]=d85decb81a47920afb2e52c6215debdceaea3dfe,
 for GNU/Linux 3.2.0, not stripped

๐Ÿš€ stack

Sep 01 ยท 4 months ago

3 Later Comments โ†“

๐Ÿ™ norayr ยท Sep 01 at 23:14:

and what is the output of

file /bin/bash

or some other binary that runs?

also can you do ldd on both - the file that doesn't run and something that does?

๐Ÿš€ stack ยท Sep 02 at 01:05:

I won't be able till tomorrow.

๐Ÿ˜ˆ dimkr ยท Sep 02 at 08:44:

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 ยท Sep 01 ยท 4 months ago