mac系统安装php74时,提示libxml2 not found,于是去libxml官网下载的2.9版本的编译包,在make时出现如下报错:
ld: cannot link directly with dylib/framework, your binary is not an allowed client of /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/libpython2.7.tbd for architecture x86_64
这个是什么意思呢?
直接编译我不熟,建议试试 homebrew 直接安装,比较省事。