cmake and RPATH

Leo Savernik l.savernik at aon.at
Sun Feb 19 21:36:57 CET 2006


Am Freitag, 17. Februar 2006 20:28 schrieb David Faure:
> 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.

Yeah, but contrary to PATH LD_LIBRARY_PATH is not meant to be set globally. 
That's what rpath is for or ld.so.conf, respectively. At least on my system 
LD_LIBRARY_PATH is empty by default. Is it different on yours?

mfg
	Leo


More information about the Kde-buildsystem mailing list