VPS侦探论坛

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

lnmp1.8安装失败

[复制链接]
发表于 2022-3-25 16:08:42 | 显示全部楼层 |阅读模式

CentOS Linux release 7.4.1708 安装lnmp1.8失败
https://wss1.cn/f/7wzdvxi67e5 复制链接到浏览器打开
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-3-25 19:58:16 | 显示全部楼层


[  9%] Linking CXX executable aes-t
../../mysys_ssl/libmysys_ssl.a(my_md5.cc.o):在函数‘md5_init(evp_md_ctx_st*)’中:
/home/lnmp1.8/src/mariadb-10.4.19/mysys_ssl/my_md5.cc:55:对‘EVP_MD_CTX_reset’未定义的引用
../../mysys_ssl/libmysys_ssl.a(my_md5.cc.o):在函数‘my_md5’中:
my_md5.cc:(.text+0x11a):对‘EVP_MD_CTX_reset’未定义的引用
../../mysys_ssl/libmysys_ssl.a(my_md5.cc.o):在函数‘my_md5_multi’中:
my_md5.cc:(.text+0x225):对‘EVP_MD_CTX_reset’未定义的引用
../../mysys_ssl/libmysys_ssl.a(my_md5.cc.o):在函数‘my_md5_result’中:
/home/lnmp1.8/src/mariadb-10.4.19/mysys_ssl/my_md5.cc:71:对‘EVP_MD_CTX_reset’未定义的引用
../../mysys_ssl/libmysys_ssl.a(my_crypt.cc.o):在函数‘my_aes_crypt_init’中:
/home/lnmp1.8/src/mariadb-10.4.19/mysys_ssl/my_crypt.cc:52:对‘EVP_CIPHER_CTX_reset’未定义的引用
../../mysys_ssl/libmysys_ssl.a(my_crypt.cc.o):在函数‘my_aes_crypt_init’中:
my_crypt.cc:(.text+0x24a):对‘EVP_CIPHER_CTX_reset’未定义的引用
my_crypt.cc:(.text+0x303):对‘EVP_CIPHER_CTX_reset’未定义的引用
../../mysys_ssl/libmysys_ssl.a(my_crypt.cc.o):在函数‘MyCTX::~MyCTX()’中:
my_crypt.cc:(.text._ZN5MyCTXD2Ev[_ZN5MyCTXD5Ev]+0x1a):对‘EVP_CIPHER_CTX_reset’未定义的引用
../../mysys_ssl/libmysys_ssl.a(my_crypt.cc.o):在函数‘MyCTX_nopad::~MyCTX_nopad()’中:
my_crypt.cc:(.text._ZN11MyCTX_nopadD2Ev[_ZN11MyCTX_nopadD5Ev]+0x1a):对‘EVP_CIPHER_CTX_reset’未定义的引用
../../mysys_ssl/libmysys_ssl.a(my_crypt.cc.o):my_crypt.cc:(.text._ZN9MyCTX_gcmD2Ev[_ZN9MyCTX_gcmD5Ev]+0x1a): more undefined references to `EVP_CIPHER_CTX_reset' follow
../../mysys_ssl/libmysys_ssl.a(my_crypt.cc.o):在函数‘MyCTX_gcm::update(unsigned char const*, unsigned int, unsigned char*, unsigned int*)’中:
my_crypt.cc:(.text._ZN9MyCTX_gcm6updateEPKhjPhPj[_ZN9MyCTX_gcm6updateEPKhjPhPj]+0x22):对‘EVP_CIPHER_CTX_encrypting’未定义的引用
../../mysys_ssl/libmysys_ssl.a(my_crypt.cc.o):在函数‘MyCTX_gcm::finish(unsigned char*, unsigned int*)’中:
my_crypt.cc:(.text._ZN9MyCTX_gcm6finishEPhPj[_ZN9MyCTX_gcm6finishEPhPj]+0x35):对‘EVP_CIPHER_CTX_encrypting’未定义的引用
../../mysys_ssl/libmysys_ssl.a(my_crypt.cc.o):在函数‘MyCTX_nopad::finish(unsigned char*, unsigned int*)’中:
my_crypt.cc:(.text._ZN11MyCTX_nopad6finishEPhPj[_ZN11MyCTX_nopad6finishEPhPj]+0x78):对‘EVP_CIPHER_CTX_buf_noconst’未定义的引用
collect2: 错误:ld 返回 1
。。。。。。。
ext/openssl/.libs/openssl.o: In function `php_sk_X509_free':
openssl.c:(.text+0xd9a): undefined reference to `OPENSSL_sk_free'
ext/openssl/.libs/xp_ssl.o: In function `php_openssl_create_sni_server_ctx':
/home/lnmp1.8/src/php-7.3.29/ext/openssl/xp_ssl.c:1377: undefined reference to `TLS_server_method'
ext/openssl/.libs/xp_ssl.o: In function `php_openssl_capture_peer_certs.isra.5':
xp_ssl.c:(.text+0x1258): undefined reference to `OPENSSL_sk_num'
xp_ssl.c:(.text+0x1299): undefined reference to `OPENSSL_sk_value'
xp_ssl.c:(.text+0x12d5): undefined reference to `OPENSSL_sk_num'
ext/openssl/.libs/xp_ssl.o: In function `php_openssl_setup_crypto':
xp_ssl.c:(.text+0x1b7d): undefined reference to `TLS_server_method'
xp_ssl.c:(.text+0x1f98): undefined reference to `SSL_CTX_set_security_level'
xp_ssl.c:(.text+0x2081): undefined reference to `TLS_client_method'
xp_ssl.c:(.text+0x2146): undefined reference to `SSL_CTX_set_options'
xp_ssl.c:(.text+0x21d5): undefined reference to `SSL_CTX_get_options'
xp_ssl.c:(.text+0x2334): undefined reference to `SSL_CTX_set_options'
ext/openssl/.libs/xp_ssl.o: In function `php_openssl_sockop_set_option':
xp_ssl.c:(.text+0x396d): undefined reference to `OPENSSL_sk_num'
xp_ssl.c:(.text+0x39cc): undefined reference to `OPENSSL_sk_value'
xp_ssl.c:(.text+0x3a49): undefined reference to `OPENSSL_sk_pop_free'
xp_ssl.c:(.text+0x3cf6): undefined reference to `OPENSSL_sk_pop_free'
xp_ssl.c:(.text+0x3e5c): undefined reference to `OPENSSL_sk_pop_free'
ext/ftp/.libs/php_ftp.o: In function `zm_startup_ftp':
/home/lnmp1.8/src/php-7.3.29/ext/ftp/php_ftp.c:321: undefined reference to `OPENSSL_init_ssl'
ext/ftp/.libs/php_ftp.o: In function `zm_startup_ftp':
php_ftp.c:(.text+0x14): undefined reference to `OPENSSL_init_crypto'
php_ftp.c:(.text+0x20): undefined reference to `OPENSSL_init_crypto'
php_ftp.c:(.text+0x2c): undefined reference to `OPENSSL_init_crypto'
php_ftp.c:(.text+0x38): undefined reference to `OPENSSL_init_ssl'
ext/ftp/.libs/ftp.o: In function `ftp_login':
/home/lnmp1.8/src/php-7.3.29/ext/ftp/ftp.c:275: undefined reference to `TLS_client_method'
ext/ftp/.libs/ftp.o: In function `ftp_login':
ftp.c:(.text+0xec6): undefined reference to `SSL_CTX_set_options'
ext/phar/.libs/util.o: In function `phar_verify_signature':
/home/lnmp1.8/src/php-7.3.29/ext/phar/util.c:1561: undefined reference to `EVP_MD_CTX_new'
ext/phar/.libs/util.o: In function `phar_verify_signature':
util.c:(.text+0x2765): undefined reference to `EVP_MD_CTX_free'
util.c:(.text+0x2b33): undefined reference to `EVP_MD_CTX_free'
ext/phar/.libs/util.o: In function `phar_create_signature':
util.c:(.text+0x2e52): undefined reference to `EVP_MD_CTX_new'
util.c:(.text+0x2ef3): undefined reference to `EVP_MD_CTX_free'
collect2: error: ld returned 1 exit status

自行升级了openssl,而且openssl升级步骤还是有问题的
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2022-3-28 09:52:42 | 显示全部楼层

那军哥这个问题要怎么处理啊
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-3-28 11:10:37 | 显示全部楼层



青红造了个白 发表于 2022-3-28 09:52
那军哥这个问题要怎么处理啊

不清楚你具体怎么升级的,按升级步骤反向恢复
或直接重装系统,不要自行升级openssl
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-20 14:54 , Processed in 0.026293 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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