cmake and RPATH

David Faure faure at kde.org
Fri Feb 17 20:28:33 CET 2006


On Friday 17 February 2006 20:24, Leo Savernik wrote:
> Am Freitag, 17. Februar 2006 17:47 schrieb Alexander Neundorf:
> > Do we need RPATH for installed apps ? Why ?
> 
> Because there are people who dare to not dump it into /usr.

And? so? That's what export LD_LIBRARY_PATH is for.
Just like you have to set PATH to run konqueror from /home/leo/inst/kd/e,
you need to set LD_LIBRARY_PATH so that its libs are found.
And you need to set KDEDIRS, and maybe KDEHOME, etc.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


More information about the Kde-buildsystem mailing list