[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to: How to wrap executablea?
From: |
Andreas Enge |
Subject: |
Re: How to: How to wrap executablea? |
Date: |
Thu, 21 Nov 2024 13:26:40 +0100 |
Am Thu, Nov 21, 2024 at 01:00:54PM +0100 schrieb Dev@icepic:
> I think you need to rewrite the path to the dependencies of the executable
> using `patchelf`, so that the libs from the store are used. I only have done
> this in nix, but it should be the same for guix? Maybe someone with more
> experience can comment on this.
I think you need to use "patchelf --set-interpreter FILENAME" for the
ld-linux.so bit. I have done it in the past, but try to avoid it, as in the
end running prebuilt binaries is always a hit-or-miss experience, possibly
after spending quite some time trying to make things work.
Andreas