[pypy-dev] Using "rpath"

Armin Rigo arigo at tunes.org
Sat May 11 08:14:16 CEST 2013


Hi all,

I think I know how to solve the two linking issues we were discussing
on irc yesterday: using the "rpath" (thanks squeaky_pl for originally
pointing it out).  See for example
http://stackoverflow.com/a/6323222/1556290 .

1) This could let us distribute more self-contained executables by
putting the libffi.so, libssl.so, etc. along it in the same directory,
and specifying an rpath of "$ORIGIN".

2) This could be used for building in "--shared" mode, with a small
executable and a big libpypy.so in the same directory, again using the
rpath "$ORIGIN".


A bientôt,

Armin.


More information about the pypy-dev mailing list