Hi,

>>the problem that I have with rpath is that it (AFAIK) assumes to know 
>>the location where things are installed, as it needs to be an absolute 
>>path. Which is fine and dandy for system components that are only 
>>installed in one place, but I'm not sure if that's how people use OpenSG.
>>
>>So here's a question to the users: do you install OpenSG in the system 
>>pathes (i.e. using the RPM) or do you put it in some other directory and 
>>use LD_LIBRARY_PATH to point to it?
> 
> 
> there is also the question, who installs the builds and who compiles
> OpenSG by themselves? we could introduce a flag (like the --prefix of
> configure) which specifies the runtime path. if it is empty, scons will
> assume that LD_LIBRARY_PATH will be used, if non-empty --rpath will be set.
> 

what about adding several relative rpaths? This works only on linux.

-Wl,-rpath=\$ORIGIN/.
-Wl,-rpath=\$ORIGIN/../lib/opt
...

Andreas


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to