Today I was made aware that elfedit tool in Solaris 11 allows for setting RPATH (among other things). The only caveat is that a binary had to be linked on Solaris 11. It is very easy to use:
# elfedit -e 'dyn:runpath $ORIGIN/../lib' /opt/bin/myprog
There is a nice
blog entry about it from Ali Bahrami.
No comments:
Post a Comment