unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: znavko@disroot.org
To: "Pierre Neidhardt" <mail@ambrevar.xyz>, "help-guix" <help-guix@gnu.org>
Subject: Re: How to use elfutils? bash: eu-strip: command not found
Date: Mon, 18 Jan 2021 08:09:36 +0000	[thread overview]
Message-ID: <2834eeb9c3b50a5aa00f62aa3d414003@disroot.org> (raw)
In-Reply-To: <87bldn1b6w.fsf@ambrevar.xyz>

Yes, Pierre, you are right.

I have found glibc folder and there was that file in subfolder lib/ 

$ ls /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib | grep ld-l
ld-linux-x86-64.so.2

You said, that it's better to compile program from sources
instead of patching elf. Ok. 

I've read an article about Bitcoin legal status in the USA.
And understood that may be guix already has bitcoin-core in repository.
And finally I've installed it with

$ guix install bitcoin-core

Thank you!



January 17, 2021 9:54 PM, "Pierre Neidhardt" <mail@ambrevar.xyz> wrote:

> 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


      parent reply	other threads:[~2021-01-18  8:09 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
2021-01-18  8:09   ` znavko [this message]

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=2834eeb9c3b50a5aa00f62aa3d414003@disroot.org \
    --to=znavko@disroot.org \
    --cc=help-guix@gnu.org \
    --cc=mail@ambrevar.xyz \
    /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).