On Sun, 2019-01-20 at 21:18 +0000, Martin Dorey wrote: > >> on a server, where I don't have root access > > Ouch.
Why ouch? He's installing his own bash so he can modify his own version of bash. He just can't install it as the system version or add libraries to the default runtime library search directories. If you configure the bash build with --prefix=$HOME/.local that should be enough to have it search $HOME/.local/lib for shared libraries by default. You just can't configure it with some --prefix then try to install it somewhere different. > > using RPATH at link time > > Debian has a package called chrpath, supplying an executable of the > same name which lets you change the RPATH later. Better is patchelf which allows you to make all sorts of changes to ELF binaries, including showing, setting, etc. RPATH, without any length restrictions: http://manpages.ubuntu.com/manpages/cosmic/man1/patchelf.1.html _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make