RPATH for installed binaries ?
mueller at kde.org
Sat Feb 18 01:25:06 GMT 2006
On Friday, 17. February 2006 21:32, David Faure wrote:
> LD_LIBRARY_PATH doesn't seem to have any effect due to RPATH having
> priority over it...
Well, same mess with LD_LIBRARY_PATH: different libs are picked up wether or
not you have exported LD_LIBRARY_PATH in all sessions correctly. It is also
nonobvious on how to safely expand LD_LIBRARY_PATHs, numerous security bugs
were and are caused by this. Also installing a custom ld.so.conf file might
be more persistent and easier to maintain than another environment variable.
Anyway: the point is that RPATH provides a level of convenience (and a level
of safety because users typically do install equally versioned shared objects
in multiple paths quite frequently) that can solve a lot of trouble. Thats
why RPATHs are on by default on KDE 3.x branches (and you can't even turn
So this needs to be configurable.
More information about the kde-core-devel