2019-07-22:rpath

"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

你可能感兴趣的:(2019-07-22:rpath)