RPATH again - different types of executables

Brad King brad.king at kitware.com
Tue Mar 28 21:15:44 CEST 2006


Alexander Neundorf wrote:
> On Monday 27 March 2006 21:14, Alexander Neundorf wrote:
> 
>>Hi,
>>
>>we have several different types of applications with different requirements
>>for the RPATH:
> 
> 
> Actually, how should the RPATH for shared libraries be handled ?
> Empty or pointing to the install dir ?
> 
> How is the RPATH in shared libs actually used ?

It is used to load the other shared libraries to which they link just 
like executables.  I think you can just set the target property 
SKIP_BUILD_RPATH to 1 and INSTALL_RPATH to empty for all libraries for 
KDE.  The executables will have already given all the right places to 
the dynamic linker.

-Brad


More information about the Kde-buildsystem mailing list