[Nix-dev] Why not use SONAME instead of RPATH

Thomas Tuegel ttuegel at gmail.com
Fri Apr 29 00:02:39 CEST 2016


On Thu, Apr 28, 2016 at 1:45 PM, Vladimír Čunát <vcunat at gmail.com> wrote:
> On 04/28/2016 08:20 PM, Александр Цамутали wrote:
>> Is it possible to apply this approach to binary packages?
>
> I don't think so, but that doesn't seem really relevant. The suggestion
> is to change what our compiler produces...

patchelf can do this, but only for shared libraries that are actually
linked. RPATH has the advantage of affecting dlopen() calls, too.

It makes me sad that I know this. :-(

Regards,
Tom


More information about the nix-dev mailing list