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

2021-01-18 Thread znavko
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

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

2021-01-17 Thread Pierre Neidhardt
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

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

2021-01-17 Thread znavko
Thank you very much! Can you give me another lesson where to find ld-linux in Guix? $ eu-readelf --all ./projectbinary-qt | grep interpreter [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2] I've found with duckduckgo on 10-th page of this document:

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

2021-01-17 Thread Vincent Legoll
Hello, On Sun, Jan 17, 2021 at 12:00 PM Pierre Neidhardt wrote: > You need to install the "bin" output: > > guix install elfutils:bin Maybe some hint like that should be added to description. WDYT ? > If you want to fix your executable interpreter (and probably the RPATH > too), you can use

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

2021-01-17 Thread znavko--- via
Hello! I have an error with some binary and I wish to check its interpreter, but elfutils package is not so easy for me. $ ./projectbinary-qt bash: ./projectbinary-qt: No such file or directory $ readelf --all ./projectbinary-qt | grep interpreter bash: readelf: command not found $ guix search