[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to use elfutils? bash: eu-strip: command not found
From: |
Pierre Neidhardt |
Subject: |
Re: How to use elfutils? bash: eu-strip: command not found |
Date: |
Sun, 17 Jan 2021 22:54:31 +0100 |
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/
signature.asc
Description: PGP signature