unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Pierre Neidhardt <mail@ambrevar.xyz>
To: znavko@disroot.org, help-guix <help-guix@gnu.org>
Subject: Re: How to use elfutils? bash: eu-strip: command not found
Date: Sun, 17 Jan 2021 22:54:31 +0100	[thread overview]
Message-ID: <87bldn1b6w.fsf@ambrevar.xyz> (raw)
In-Reply-To: <31f42dbc5bd5733dff22060012d18ed7@disroot.org>

[-- Attachment #1: Type: text/plain, Size: 836 bytes --]

Frankly, it's easier to get your program to run if you can compile it
from source.
It's going to be quite tricky to patch the ELF.

The linker is in the "lib" folder of the glibc package.

> "/gnu/store/m9vxvh...-glibc-2.23/lib/ld-linux-x86-64.so.2"

This is correct.

> So, I installed as I can understand glibc:
>
> $ guix install glibc
> ...ok
>
> $ whereis ld-linux
> ld-linux:

I don't use whereis, my guess is that it's not looking in the right
location.
Note that the linker is a .so file in a /lib folder, which is maybe why
whereis cannot find it.

>
> # find / -type d -name "*ld-linux*"
> find: ‘/run/user/1000/gvfs’: Permission denied

You are looking for folder here, this cannot work.  You need to use
`-type f' instead.

Hope that helps!

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 511 bytes --]

  reply	other threads:[~2021-01-17 22:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-17  9:04 How to use elfutils? bash: eu-strip: command not found znavko--- via
2021-01-17 10:59 ` Pierre Neidhardt
2021-01-17 11:04   ` Vincent Legoll
2021-01-17 11:41     ` Pierre Neidhardt
2021-01-17 19:04 ` znavko
2021-01-17 21:54   ` Pierre Neidhardt [this message]
2021-01-18  8:09   ` znavko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bldn1b6w.fsf@ambrevar.xyz \
    --to=mail@ambrevar.xyz \
    --cc=help-guix@gnu.org \
    --cc=znavko@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).