[Nix-dev] Nix and Plash

Marc Weber marco-oweber at gmx.de
Tue Mar 25 01:19:41 CET 2008


> BTW, do you know what causes the RPATH field to be added to
> executables and libraries?  It looks like "ld" only adds it when an
> explicit "-rpath" argument is given.  Is it libtool that is adding the
> "-rpath" argument and how does it decide whether to add it?  Based on
> <http://wiki.debian.org/RpathIssue>, it looks like libtool adds it by
> default but it is switched off with --disable-rpath.  How does Nix
> deal with packages that don't use libtool?

Have a look at all binary distributions (eg acroread)
There is the tool patch-elf --rpath mypath1:mypath2 executable
HTH

Marc Weber



More information about the nix-dev mailing list