Why is install_name_tool and otool necessary for Mach-O libraries in Mac Os X?
问题 I am developing a Cocoa Application using the latest version of Xcode 4, I want to link dynamic libraries to my project ( dylibs ). I read somewhere that adding the libraries in my project was not enough as I have to run install_name_tool and otool to make my project use the libraries that were bundled in my project. I have read the manual pages for install_name_tool , but I do not understand WHY I have to do this. How do libraries work? Especially interested in the part where the application