Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
typeflat
printablefalse

About

Excerpt

Error handling snippets.

Usage

Linking
Code Block
languagecpp
 -Wl, -rpath,/opt/ros/ycs/mdb/lib -lmdb
Lising RPaths
Code Block
languagecpp
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.