"otool -D " to view the install name of a dylib
"otool -L " to view the dependencies
"otool -l | grep LC_RPATH -A2" to view the RPATHs
"install_name_tool -id ..." to change an install name
"install_name_tool -change ..." to change the dependencies
"install_name_tool -rpath ... -add_rpath ... -delete_rpath ..." to change RPATHs
网友评论