mac catalina brew 安装openssl@3
默认是安装不上的,因为brew 不维护老系统了
链接1:https://github.com/Homebrew/homebrew-core/blob/05fa8165ec18b2fd582598f8006d6bd8df29eebd/Formula/o/[email protected] 源文件
链接2:https://github.com/openssl/openssl/issues/22467 解决办法
Run brew edit openssl@3 or find the file [email protected] and edit it.
Look for the line system "make", "test"
Change it to system "make", "test TESTS='-test-cmp_http'" and save the file
Run brew install --build-from-source --formula /path/to/[email protected]. Make sure you change the path to wherever your file is. In my case it was in /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/o/[email protected].