cmake and RPATH

Alexander Neundorf neundorf at kde.org
Fri Feb 17 17:47:48 CET 2006


On Thursday 16 February 2006 23:55, you wrote:
> Alexander Neundorf wrote:
...
> I think Leo is saying that if there is no RPATH for the build tree then
> targets will have to be relinked to be given the proper RPATH for the
> install tree.  Users should not have to load a shell script to set their
> environment to run an installed application.

No, the shell script is only for uninstalled apps.
Once the libs are installed, they should end up in a directory which is found 
by the linker (either LD_LIBRARY_PATH or /etc/ld.so.conf)

Do we need RPATH for installed apps ? Why ?

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list