« Home | High Performance Web Pages » | Painless Schedules Revisited » | Google Analytics 101 » | Safari Books Online » | Changing Registered Agents » | The Nicest Rejection Letter Ever » | WSJ: Larger Monitors Make you More Productive » | A First Look at the iPhone SDK » | Out Sick » | MSDN Lockout Day Has Arrived »

LD_LIBRARY_PATH in Mac OS X

I keep forgetting, so I thought I would drop a quick blog posting to remind me forever.  For those of you who are moving from Linux to Mac OS, you might be interested:

The equivalent of $LD_LIBRARY_PATH in Linux, is (drum roll please): DYLD_LIBRARY_PATH.

$ export DYLD_LIBRARY_PATH=`pwd`/mydebugpath

And now your application will resolve the shared objects (.dynlib) files at runtime.

For all the glory details you can also man dyld: 

$man dyld

Labels: , ,