php8安装ssl
No package ‘openssl’ found / Package ’libssl’, required by ‘openssl’, not found
错误
- No package ‘openssl’ found - Package ’libssl’, required by ‘openssl’, not found
提示
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables OPENSSL_CFLAGS and OPENSSL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
mac 下安装某些依赖 openssl 的依赖时,可能会遇到上面两个错误,首先确认是否已经安装了 openssl version / brew info openssl,如果未安装,brew install openssl。
…