macos下的otool(Linux上的ldd)
otool - object file displaying tool
otool [ option ... ] [ file ... ]
-L Display the names and version numbers of the shared libraries
that the object file uses. As well as the shared library ID if
the file is a shared library.
某个运行程序或者运行库的依赖库可以使用otool -L XXX指令来查看;
可以使用install_name_tool -change old_path new_path XXX,来修改XXX依赖的库的路径