mac catalina 手动安装openssl@3
mac catalina 通过homebrew 安装 openssl 失败,被嫌弃系统太老,make test 测试不通过
I manually installed openssl@3 with the following commands
- Download the latest version from
https://www.openssl.org/source/openssl-3.1.1.tar.gz
- Uncompress the file with double click and open the terminal. Find the created folder and cd openssl-3.1.1
- Continue with
perl ./Configure --prefix=/usr/local --openssldir=/usr/local/openssl no-ssl3 no-ssl3-method no-zlib darwin64-x86_64-cc enable-ec_nistp_64_gcc_128
make
make test
(optional) I passed all testssudo make install MANDIR=/usr/local/Cellar/openssl@3/3.1.1_1/share/man MANSUFFIX=ssl
openssl version
(optional - verification). It should report OpenSSL 3.1.1 30 May 2023 (Library: OpenSSL 3.1.1 30 May 2023)which -a openssl
(optional).brew link openssl@3
brew list
(optional) you should see the openssl@3 inside installed packages.