- 积分
- 117977
- 威望
-
- 金钱
-
- 注册时间
- 2009-4-24
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2022-5-27 15:44:04
|
显示全部楼层
Cannot find appropriate system libraries for WITH_SSL=system.
Make sure you have specified a supported SSL version.
Valid options are :
system (use the OS openssl library),
yes (synonym for system),
</path/to/custom/openssl/installation>
CMake Error at cmake/ssl.cmake:63 (MESSAGE):
Please install the appropriate openssl developer package.
Call Stack (most recent call first):
cmake/ssl.cmake:280 (FATAL_SSL_NOT_FOUND_ERROR)
CMakeLists.txt:554 (MYSQL_CHECK_SSL)
-- Configuring incomplete, errors occurred!
。。。。。。
/usr/local/src/lnmp1.8-full/src/php-8.0.8/ext/openssl/openssl.c:6390:41: warning: passing argument 4 of ‘RSA_public_decrypt’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
6390 | EVP_PKEY_get0_RSA(pkey),
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/src/lnmp1.8-full/src/php-8.0.8/ext/openssl/openssl.c:46:
/usr/include/openssl/rsa.h:289:29: note: expected ‘RSA *’ {aka ‘struct rsa_st *’} but argument is of type ‘const struct rsa_st *’
289 | RSA *rsa, int padding);
| ~~~~~^~~
make: *** [Makefile:786: ext/openssl/openssl.lo] Error 1
ubuntu 22.04 的openssl版本为3.0,目前很多程序都是不支持的,可以尝试使用lnmp1.9进行安装,lnmp1.9上做过单独的适配 |
|