2 ms·
> or shell wrappers that point dynamic linker to appropriate private /lib directory. You haven't needed shell wrappers to do that for a long time, just link wi
by account42 5y ago
> or shell wrappers that point dynamic linker to appropriate private /lib directory.
You haven't needed shell wrappers to do that for a long time, just link with -Wl,-rpath,\$ORIGIN/whatever/relative/path/you/want where $ORIGIN at the start resolves to the directory containing the binary at runtime.
Of course other things like selecting between different binaries based on architecture or operating system still requires a shell script.