ld: library not found for -l*****

在zshrc加入

export LIBRARY_PATH="$LIBRARY_PATH:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"

你可能感兴趣的:(ld: library not found for -l*****)