Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Relative setting of RPATH/RUNPATH to overcome need for LD_LIBRARY_PATH



Hi all,

I try to figure out the link options for specifying RPATH/RUNPATH
under Darwin. I need this to overcome the need of setting
LD_LIBRARY_PATH with Grid Engine as described in

   http://gridengine.sunsource.net/issues/show_bug.cgi?id=2090

with other OSes there are link options that allow library pathes
be set *relative* to the executable path at the time when the executable is linked through


   Solaris: -R $ORIGIN/../lib
   Linux:   -rpath $ORIGIN/../lib

I believe there must be something related for Darwin, but I
found no such in ld(1) man page.

Anyone knowing this?

Regards,
Andreas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.