$ otool -L myexe
mds:
libchartdir.4.dylib (compatibility version 4.0.0, current version 4.1.0)
/opt/local/lib/libQuantLib-0.9.0.dylib (compatibility version 0.0.0, current version 0.0.0)
/opt/local/lib/libboost_date_time-1_34_1.dylib (compatibility version 0.0.0, current version 0.0.0)
/opt/local/lib/libboost_program_options-1_34_1.dylib (compatibility version 0.0.0, current version 0.0.0)
/opt/local/lib/liblog4cpp.4.dylib (compatibility version 5.0.0, current version 5.6.0)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 128.0.0)
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 11.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.11)
/System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime (compatibility version 1.0.0, current version 861.0.0)
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
/usr/local/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
libchartdir, the first library in the otool list, does not have an absolute path set. I have to set the DYLD_FALLBACK_LIBRARY_PATH to /opt/local/lib to let dyld find it at runtime.
What makes the other libraries installed under /opt/local/lib (QuantLib, boost) have their path recorded in the executable?
- Mac Os X What Is The Library Cookie Directory Free
- Mac Os X What Is The Library Cookie Directory List
Developer(s) | Apple Inc. |
---|---|
Stable release | |
Operating system | macOS |
Type | Utility |
License | Proprietary |
Website | www.apple.com/osx/ |
Directory Utility is a utility included with the macOS (previously Mac OS X) operating system to configure connections to directory services.
In OS X 10.6 to 10.9, Directory Utility is in the /System/Library/CoreServices/ - it can be accessed through the GUI via the Accounts System Preferences panel, after clicking 'Join' next to Network Account Server, and then clicking 'Open Directory Utility. '[1][2]
But I am unfamiliar with Mac OS X and don't know where to place those libraries. In Mac OS X Directory Structure, I find there are three directories of libraries: /Library, /Library and /usr/lib. And I've tried to place gtest libraries into these directories respectively and found out only /usr/lib works. Dec 04, 2017 The library folder is the area of your MacOS computer where app settings are stored. When you install a program, a folder is created in the Library for all of the essential settings. This can be anything from plugins, preference files and log files.
In OS X 10.10 Directory Utility moved to /System/Library/CoreServices/Applications.
Prior to Mac OS X 10.5, this tool was named Directory Access.
See also[edit]
References[edit]
Mac Os X What Is The Library Cookie Directory Free
- ^Griffiths, Rob. 'Snow Leopard: What's gone where | Mac OS X'. Macworld. Retrieved September 18, 2011.
- ^wallsbk. '10.6: Use Directory Utility in Snow Leopard - Mac OS X Hints'. Hints.macworld.com. Retrieved September 18, 2011.