About
Excerpt |
---|
Error handling snippets. |
Usage
Linking
Code Block |
---|
|
-Wl, -rpath,/opt/ros/ycs/mdb/lib -lmdb |
Lising RPaths
Code Block |
---|
|
readelf -d <binary> | grep RPATH |
Modifying
There is a program called chrpath which can modify an existing rpath command. It has a gentoo ebuild, I'm not sure about ubuntu. It has one problem which really negates its usefulness (though its still useful for investigating rpaths) - when replacing the rpath, you aren't permitted to replace it with something longer than the original rpath.