VPS侦探论坛

 找回密码
 注册
查看: 2638|回复: 3

离线安装lnmp1.9-full失败 (openssl 1.1.1n)

[复制链接]
发表于 2022-7-28 18:37:19 | 显示全部楼层 |阅读模式

本帖最后由 hmm 于 2022-7-28 18:37 编辑

CentOS Linux release 7.7.1908 (Core)
Linux host 3.10.0-1160.71.1.el7.x86_64 #1 SMP Tue Jun 28 15:37:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
安装日志
传输链接:https://cowtransfer.com/s/918fc5fc16174f 或 打开【奶牛快传】cowtransfer.com 使用传输口令:bfiajz 提取;

MYSQL错误

[ 61%] Building CXX object rapid/plugin/group_replication/CMakeFiles/group_replication.dir/src/gcs_operations.cc.o
[ 61%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/sync/sync0debug.cc.o
../archive_output_directory/libclientlib.a(sha2_password_common.cc.o):在函数‘sha2_password::SHA256_digest::retrieve_digest(unsigned char*, unsigned int)’中:
/data/soft/lnmp1.9-full/src/mysql-5.7.38/sql/auth/sha2_password_common.cc:122:对‘EVP_MD_CTX_reset’未定义的引用
../archive_output_directory/libclientlib.a(sha2_password_common.cc.o):在函数‘sha2_password::SHA256_digest::init()’中:
/data/soft/lnmp1.9-full/src/mysql-5.7.38/sql/auth/sha2_password_common.cc:149:对‘EVP_MD_CTX_new’未定义的引用
/data/soft/lnmp1.9-full/src/mysql-5.7.38/sql/auth/sha2_password_common.cc:160:对‘EVP_MD_CTX_free’未定义的引用
../archive_output_directory/libclientlib.a(sha2_password_common.cc.o):在函数‘sha2_password::SHA256_digest::deinit()’中:
/data/soft/lnmp1.9-full/src/mysql-5.7.38/sql/auth/sha2_password_common.cc:175:对‘EVP_MD_CTX_free’未定义的引用
../archive_output_directory/libvio.a(viossl.c.o):在函数‘ssl_do’中:
/data/soft/lnmp1.9-full/src/mysql-5.7.38/vio/viossl.c:392:对‘SSL_set_options’未定义的引用
/data/soft/lnmp1.9-full/src/mysql-5.7.38/vio/viossl.c:392:对‘SSL_set_options’未定义的引用
../archive_output_directory/libvio.a(viosslfactories.c.o):在函数‘new_VioSSLFd’中:
/data/soft/lnmp1.9-full/src/mysql-5.7.38/vio/viosslfactories.c:549:对‘TLS_server_method’未定义的引用
/data/soft/lnmp1.9-full/src/mysql-5.7.38/vio/viosslfactories.c:560:对‘SSL_CTX_set_options’未定义的引用
/data/soft/lnmp1.9-full/src/mysql-5.7.38/vio/viosslfactories.c:566:对‘SSL_CTX_set_ciphersuites’未定义的引用
../archive_output_directory/libvio.a(viosslfactories.c.o):在函数‘get_dh2048’中:
/data/soft/lnmp1.9-full/src/mysql-5.7.38/vio/viosslfactories.c:131:对‘DH_set0_pqg’未定义的引用
../archive_output_directory/libvio.a(viosslfactories.c.o):在函数‘new_VioSSLFd’中:
/data/soft/lnmp1.9-full/src/mysql-5.7.38/vio/viosslfactories.c:549:对‘TLS_client_method’未定义的引用
../archive_output_directory/libvio.a(viosslfactories.c.o):在函数‘mysql_OPENSSL_init’中:
/data/soft/lnmp1.9-full/src/mysql-5.7.38/include/my_openssl.h:57:对‘OPENSSL_init_ssl’未定义的引用
../archive_output_directory/libvio.a(viosslfactories.c.o):在函数‘ssl_start’中:
/data/soft/lnmp1.9-full/src/mysql-5.7.38/vio/viosslfactories.c:443:对‘OPENSSL_init_crypto’未定义的引用
/data/soft/lnmp1.9-full/src/mysql-5.7.38/vio/viosslfactories.c:444:对‘OPENSSL_init_ssl’未定义的引用
collect2: 错误:ld 返回 1
make[2]: *** [libmysql/libmysqlclient.so.20.3.25] 错误 1
make[1]: *** [libmysql/CMakeFiles/libmysql.dir/all] 错误 2


php 的错误

ext/openssl/openssl.o: In function `php_openssl_asn1_time_to_time_t':
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:639: undefined reference to `ASN1_STRING_get0_data'
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:654: undefined reference to `ASN1_STRING_get0_data'
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:654: undefined reference to `ASN1_STRING_get0_data'
ext/openssl/openssl.o: In function `sk_X509_pop':
/usr/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_pop'
ext/openssl/openssl.o: In function `php_openssl_pkey_from_zval':
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:3552: undefined reference to `EVP_PKEY_up_ref'
ext/openssl/openssl.o: In function `zif_openssl_spki_export_challenge':
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:1773: undefined reference to `ASN1_STRING_get0_data'
ext/openssl/openssl.o: In function `php_openssl_add_assoc_name_entry':
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:575: undefined reference to `ASN1_STRING_get0_data'
ext/openssl/openssl.o: In function `zif_openssl_x509_parse':
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:2092: undefined reference to `X509_get_version'
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:2119: undefined reference to `X509_getm_notBefore'
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:2120: undefined reference to `X509_getm_notAfter'
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:2122: undefined reference to `X509_getm_notBefore'
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:2123: undefined reference to `X509_getm_notAfter'
ext/openssl/openssl.o: In function `sk_GENERAL_NAME_pop_free':
/usr/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_pop_free'
ext/openssl/openssl.o: In function `sk_GENERAL_NAME_num':
/usr/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_num'
ext/openssl/openssl.o: In function `sk_GENERAL_NAME_value':
/usr/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_value'
ext/openssl/openssl.o: In function `openssl_x509v3_subjectAltName':
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:2018: undefined reference to `ASN1_STRING_get0_data'
ext/openssl/openssl.o: In function `sk_X509_new_null':
/usr/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_new_null'
ext/openssl/openssl.o: In function `sk_X509_free':
/usr/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_free'
ext/openssl/openssl.o: In function `sk_X509_INFO_free':
/usr/include/openssl/x509.h:254: undefined reference to `OPENSSL_sk_free'
ext/openssl/openssl.o: In function `sk_X509_INFO_shift':
/usr/include/openssl/x509.h:254: undefined reference to `OPENSSL_sk_shift'
ext/openssl/openssl.o: In function `sk_X509_push':
/usr/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_push'
ext/openssl/openssl.o: In function `sk_X509_INFO_num':
/usr/include/openssl/x509.h:254: undefined reference to `OPENSSL_sk_num'
ext/openssl/openssl.o: In function `sk_X509_num':
/usr/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_num'
ext/openssl/openssl.o: In function `sk_X509_free':
/usr/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_free'
/usr/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_free'
/usr/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_free'
ext/openssl/openssl.o: In function `sk_X509_pop_free':
/usr/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_pop_free'
ext/openssl/openssl.o: In function `sk_X509_new_null':
/usr/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_new_null'
ext/openssl/openssl.o: In function `sk_X509_push':
/usr/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_push'
/usr/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_push'
ext/openssl/openssl.o: In function `sk_X509_num':
/usr/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_num'
ext/openssl/openssl.o: In function `sk_X509_pop':
/usr/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_pop'
ext/openssl/openssl.o: In function `sk_X509_free':
/usr/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_free'
ext/openssl/openssl.o: In function `zif_openssl_csr_get_subject':
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:3400: undefined reference to `X509_REQ_get_subject_name'
ext/openssl/openssl.o: In function `php_openssl_generate_private_key':
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:3751: undefined reference to `RSA_pkey_ctx_ctrl'
ext/openssl/openssl.o: In function `zif_openssl_pkey_get_details':
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:4904: undefined reference to `EVP_PKEY_get0_EC_KEY'
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:4913: undefined reference to `EVP_PKEY_get0_EC_KEY'
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:4949: undefined reference to `EVP_PKEY_get0_EC_KEY'
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:4831: undefined reference to `EVP_PKEY_get0_RSA'
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:4838: undefined reference to `RSA_get0_key'
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:4839: undefined reference to `RSA_get0_factors'
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:4840: undefined reference to `RSA_get0_crt_params'
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:4860: undefined reference to `EVP_PKEY_get0_DSA'
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:4867: undefined reference to `DSA_get0_pqg'
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:4868: undefined reference to `DSA_get0_key'
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:4882: undefined reference to `EVP_PKEY_get0_DH'
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:4889: undefined reference to `DH_get0_pqg'
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:4890: undefined reference to `DH_get0_key'
ext/openssl/openssl.o: In function `php_openssl_dh_compute_key':
/data/soft/lnmp1.9-full/src/php-8.1.7/ext/openssl/openssl.c:5013: undefined reference to `EVP_PKEY_get0_DH'



美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-7-28 21:11:56 | 显示全部楼层


你这是自行升级了openssl导致的,不清楚你怎么升级的openssl,按你升级的方法再取消升级,再yum reinstall openssl 和 openssl-devel
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2022-7-29 10:32:32 | 显示全部楼层

licess 发表于 2022-7-28 21:11
你这是自行升级了openssl导致的,不清楚你怎么升级的openssl,按你升级的方法再取消升级,再yum reinstall  ...

手动升级的。 默认安装的openssl 1.0.2 说是 有安全漏洞。必须要升级到1.1.1n之后的版本。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-7-29 20:19:35 | 显示全部楼层



hmm 发表于 2022-7-29 10:32
手动升级的。 默认安装的openssl 1.0.2 说是 有安全漏洞。必须要升级到1.1.1n之后的版本。 ...

不是不让升级openssl,是你升级的操作步骤有问题导致的
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-12-8 22:50 , Processed in 0.029217 second(s), 21 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表