我一直在努力与这个概念了一段时间,我不能真正理解所不同的是-change和-id .The手册页状态之间 -id name
Changes the shared library identification name of a dynamic shared library to name. If the Mach-O binary is not a dynamic
我的应用需要加载硬件制造商提供的dylib。在dylib使用otool产生这样的输出: $otool -L harwdware.2.dylib
hardware.2.dylib:
@executable_path/../Addittional/hardware.2.dylib (compatibility version 3.0.0, current version 3.0.0)
我有一个外部lib'libspecial.dylib',它具有以下依赖项。 otool -L libspecial.dylib [11:20:59]
libspecial.dylib:
@rpath/libspecial.dylib (compatibility version 1.0.0, current version 1