Hi Danny, Danny Milosavljevic skribis: > I remember being tripped up by this when I started using Guix. It is annoying. > > I wonder if it's possible to instruct gcc (or ld, I guess) to automatically > add rpath to where it found the respective library. That's really what we > expect to happen in Guix. See the comment at the top of ld-wrapper.in. I tried hard to avoid having a wrapper at all but came to the conclusion that this was the best we could do (it’s already better than what Nixpkgs did/does, which is to wrap the whole compiler). Thanks, Ludo’.