RPATH for installed binaries ?

Dirk Mueller mueller at kde.org
Sun Feb 19 16:28:24 GMT 2006


On Sunday, 19. February 2006 11:10, David Faure wrote:

> If users install "equally versioned shared objects in multiple paths", like
> two versions of kdelibs 3.x in different paths, how can they actually use
> those two versions of kdelibs, if not by setting KDEDIR(s) to point to the
> one they want to use? 

By using RPATHs. kdelibs compiles in the prefix, so unless you mess up your 
environment (or your distro does it for you), then there is no problem. 

> And if they have to set KDEDIR, don't they have to 
> set PATH and LD_LIBRARY_PATH as well?

No. 

> (Maybe we could provide a script that 
> encapsulates it all...   kde-set-prefix <prefix>.)

Wrong way. better integrate better with what the underlying operating system 
provides. 


-- 
Dirk//\




More information about the kde-core-devel mailing list