PATH and LD_LIBRARY_PATH for build time commands

David Faure faure at kde.org
Wed Feb 15 19:48:25 CET 2006


On Wednesday 15 February 2006 15:15, Thiago Macieira wrote:
> Alexander Neundorf wrote:
> >> unless using the new flags, see the mails from Thiago.
> >
> >Do you mean RUN_PATH ? Do we want it ? If so, is then everything ok ? In
> > which way does it differ from RPATH ? Does it exist on all platforms
> > (except windows) ?
> 
> RUNPATH is RPATH implemented correctly. But it's not used by default.
> 
> So, unless you tell the linker to use it, don't rely on it being there. 
> Which means: unless you tell the linker to use it, don't bother setting 
> LD_LIBRARY_PATH.

.... unless not using RPATH at all (nor RUNPATH).
Why isn't that an option? To save users from setting LD_LIBRARY_PATH
to run KDE from a custom prefix? But they have to set PATH anyway...

-- 
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