help-guix
[Top][All Lists]
Advanced

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

Re: How to use elfutils? bash: eu-strip: command not found


From: znavko
Subject: Re: How to use elfutils? bash: eu-strip: command not found
Date: Mon, 18 Jan 2021 08:09:36 +0000

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



reply via email to

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