emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#54941: closed (No such file or directory when running a binary)


From: GNU bug Tracking System
Subject: bug#54941: closed (No such file or directory when running a binary)
Date: Sat, 16 Apr 2022 14:17:02 +0000

Your message dated Sat, 16 Apr 2022 16:16:06 +0200
with message-id <e8f557075f49fe0ec5278468ec17a4df5c7fd4e9.camel@telenet.be>
and subject line Re: bug#54941: No such file or directory when running a binary
has caused the debbugs.gnu.org bug report #54941,
regarding No such file or directory when running a binary
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
54941: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=54941
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: No such file or directory when running a binary Date: Thu, 14 Apr 2022 16:34:13 +0100 User-agent: mu4e 1.6.10; emacs 27.2

I am trying to run a binary and it returns "bash: ./silent-syphon: No such file or directory"

This issue does not seem to happen on other distros (tested on Archlinux) and has been reproduced on several GNU Guix installations. This error has occured before and every both times the binary was originally found in a zip file. I unzip the file with "unzip foo". Using the unzip program.

Easiest way to reproduce this by unzipping the binary in this Github repo: https://github.com/FluxHarmonic/ld50-silent-syphon/releases/tag/dev

The internet suggests that this might be because I am running a 32-bit program on a 64-bit system. LDD shows the binary to be fine and error continued to happen even after installing all dependancies/libraries. I am on the Guix Operating system with everything being up-to-date.

Can you suggest any sort of fix?

--
Haider Mirza via Emacs on a GNU/Linux system

--- End Message ---
--- Begin Message --- Subject: Re: bug#54941: No such file or directory when running a binary Date: Sat, 16 Apr 2022 16:16:06 +0200 User-agent: Evolution 3.38.3-1
Haider Mirza schreef op za 16-04-2022 om 14:58 [+0100]:
> You're right about the fact that the binary is requesting "/lib64/ld-
> linux-x86-64.so.2" Is it possible to force the binary to use another
> interpreter? If not you can close this down.

Yes, here's how to do it on Debian:

$ ~/.guix-profile/lib/ld-linux-x86-64.so.2 /bin/ls
/bin/ls: error while loading shared libraries: libselinux.so.1: cannot
open shared object file: No such file or directory
[failed!]

Though as can be seen above, not all combinations of interpreters and
binaries actually function ...

Greetings,
Maxime.

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]