I have a new solution for this which I find very elegant:

You either compile (link) the programs using:

-Wl,-rpath,/mystuff/lib

(and aditionally also  -Wl,-dynamic-linker,/mystuff/lib/ld-linux.so.2
if you have your own libc)

Or you modify the rpath (and interpreter if necessary) in the binary,
using a hex editor (haxxorz), sed or something (elite haxxorz) or
patchelf from http://nix.cs.uu.nl/patchelf.html (me).

flip


-- 
flipflip

Check out flipflip's 'SlimServer On DiskStation (SSODS)'
(http://oinkzwurgl.org/ssods/)!
------------------------------------------------------------------------
flipflip's Profile: http://forums.slimdevices.com/member.php?userid=5223
View this thread: http://forums.slimdevices.com/showthread.php?t=27735

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to