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: signature.asc
Description: PGP signature

Reply via email to