perl

Brandon Allbery allbery.b at gmail.com
Thu Feb 28 07:18:19 PST 2013


On Thu, Feb 28, 2013 at 10:10 AM, William H. Magill <magill at mac.com> wrote:

> First thing to note is that the MacPorts installation modification ONLY
> modifies $PATH and $INFOPATH
> It does not modify $LD_LIBRARY_PATH.
>

Yes, deliberately. OS X does not work like Linux; LD_LIBRARY_PATH has
different, and usually unwanted, semantics, and you should not use it.

Previous versions of OSX used the file: ~/.MacOSX/environment.plist as a
> mechanism to pass this same
> information on to programs which WERE NOT LAUNCHED DIRECTLY FROM YOUR
> TERMINAL WINDOW,
> but which ran under your userid.
>

"man launchctl" and "man launchd.conf" to see the correct way to do this
from Leopard on. Note also that most modern Linux GUIs behave the same way:
most GUI login managers do not run the user .profile at login any more than
OS X does. (This isn't even a new behavior; old Solaris CDE was the same
way, but at least documented what to do to change it one of its dotfiles.)

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20130228/8a305db0/attachment.html>


More information about the macports-users mailing list