An OE user on #oe requested that we consider using PatchELF instead of chrpath for modifying the RPATH of binaries in relocatable.bbclass. http://nixos.org/patchelf.html The main reasoning seemed to be that chrpath only really works on Linux whereas PatchELF is usable on other Unices (specifically, for this user, Mac OS X). A basic survey (and the PatchELF website is currently down) indicated that chrpath has more features but PatchELF will do all that we require at this time.
I started to write a patch for this, I'll dig it up and polish for feedback on the mailing list.
This could be problematic in that Ubuntu do not package patchelf and building our own native version introduces code comlexity in that we can't make the utility or anything it depends on relocatable until the utility has been built...
chrpath is working well for us and the complexities involved in changing are substantial so closing this as something we're not going to do. For the other OSs, it would be possible to add in a different tool for them, if as and when someone could get them working.