Skip to contentSkip to conversation

RPATH in shared libraries

DISCUSSION Leon Woestenberg 1 participant 1 message Apr 25, 2007

lore
Share & tools
lore
#0 lore raw

During an strace run on my target, I noticed a considerable amount of attempts to load shared libraries from their RPATH location (which is the preferred location over what the linker thinks).

objdump -x libfontconfig.so.1 | grep RPATH /home/leon/sandbox/e520/openembedded/build/tmp/staging/i686-angstrom-linux/lib

This results in considerable overhead during loading of shared libraries.

Koen secretly told me that there had been a masterplan amongst those who may call themselves core developer to fix these paths.

I'm curious about what the fix would incur.

Also, might these RPATH's actually help when I am remotely debugging using GDB, helping GDB find debugging info, or not?

Thanks for any hints on this,

Regards,

Signature · 1 line
Leon