VPS侦探论坛

标题: ubuntu22.04安装lnmp1.8失败 [打印本页]

作者: ioasdkhsh    时间: 2022-5-27 13:28
标题: ubuntu22.04安装lnmp1.8失败
本帖最后由 ioasdkhsh 于 2022-5-27 13:32 编辑

os:ubuntu22.04 64版本:lnmp 1.8
配置信息: mysql 5.7 、php8.0 、nginx

尝试将日志文件上传至附件,但是提示附件超过限制大小,日志文件为:106k。
所以我将日志文件上传至网盘,麻烦管理员移步下载。感激!

  1. https://t.wss.ink/f/8exp6uigmvr 复制链接到浏览器打开
复制代码



作者: licess    时间: 2022-5-27 15:44
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上做过单独的适配
作者: ioasdkhsh    时间: 2022-5-27 17:11
licess 发表于 2022-5-27 15:44
ubuntu 22.04 的openssl版本为3.0,目前很多程序都是不支持的,可以尝试使用lnmp1.9进行安装,lnmp1.9上做 ...

谢谢军哥,安装1.9成功了。




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4