On Monday 18 December 2006 03:47, Carsten Haitzler wrote:
> and what is $ORIGIN?

it's a special keyword recognized by the ldso:
If the name is ``ORIGIN'', then the substitution sequence is replaced by the 
dynamic linker with the absolute pathname of the directory in which the 
object containing the substitution sequence originated.

in other words, if you execute "/usr/bin/foo", $ORIGIN will be replaced 
with "/usr/bin"

so if you utilize -rpath '$ORIGIN/../lib' in the linker flags when linking the 
e binary, then the ldso will automatically search /usr/bin/../lib/ when 
searching for libraries for the e application only ... thus the environment 
of e will not be polluted and applications launched inside of e should work 
just fine
-mike

Attachment: pgpfkOJ2ciKem.pgp
Description: PGP signature

-------------------------------------------------------------------------
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
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to