A dynamically linked shared library
(filetype == MH_DYLIB in the mach header) contains a dylib_command
(cmd == LC_ID_DYLIB) to identify the library. An object that uses a
dynamically linked shared library also contains a dylib_command
(cmd == LC_LOAD_DYLIB, LC_LOAD_WEAK_DYLIB, or LC_REEXPORT_DYLIB) for each
library it uses.
A dynamically linked shared library (filetype == MH_DYLIB in the mach header) contains a dylib_command (cmd == LC_ID_DYLIB) to identify the library. An object that uses a dynamically linked shared library also contains a dylib_command (cmd == LC_LOAD_DYLIB, LC_LOAD_WEAK_DYLIB, or LC_REEXPORT_DYLIB) for each library it uses.