> I'm not sure how to trace the load process in OSX. Also you can look
If you mean dynamic lib loading, you can set the DYLD_PRINT_LIBRARIES
shell variable:
DYLD_PRINT_LIBRARIES=1
export DYLD_PRINT_LIBRARIES
some other useful dylib variables:
DYLD_FRAMEWORK_PATH
DYLD_FALLBACK_FRAMEWORK_PATH
DYLD_LIBRARY_PATH
DYLD_FALLBACK_LIBRARY_PATH