O'Reilly logo

Advanced Mac OS X Programming: The Big Nerd Ranch Guide by Mark Dalrymple

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

For the More Curious: Runtime Environment Variables

Earlier you saw several environment variables that could be set to achieve different results. There are a number of environment variables you can set. Here’s an interesting subset, and check out the dyld manpage for the complete list. When a list of things is mentioned, it is a colon-separated list of those objects.

The first set of environment variables control where the dynamic linker finds libraries and frameworks when a process is first loaded.

DYLD_FRAMEWORK_PATH

A list of directories that contain frameworks. The dynamic linker searches these directories first.

DYLD_FALLBACK_FRAMEWORK_PATH

A list of directories that contain frameworks. This is used as the default location for frameworks. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required