inertgas 发表于 2022-3-16 18:23:42

LNMP 1.8 安装失败,请求协助解决

主机 : centos 7.9 x64
错误情况见附件。

https://wss1.cn/f/7ufslbt2299 复制链接到浏览器打开
取件码:qepb9

licess 发表于 2022-3-16 20:19:24

--2022-03-16 17:03:33--https://soft.vpser.net/web/php/php-7.3.29.tar.bz2
正在解析主机 soft.vpser.net (soft.vpser.net)... 失败:未知的名称或服务。
wget: 无法解析主机地址 “soft.vpser.net”
下载php源码时你机器并未正常解析出ip导致的,可能你机器上设置dns暂时有问题导致
临时问题的话重新安装就可以了

inertgas 发表于 2022-3-16 21:51:43

licess 发表于 2022-3-16 20:19
下载php源码时你机器并未正常解析出ip导致的,可能你机器上设置dns暂时有问题导致
临时问题的话重新安装就 ...

添加了新的DNS,之前的报错应该解决了,但是还是PHP安装失败了。
https://wss1.cn/f/7uhcpxa5q0d 复制链接到浏览器打开

补充内容 (2022-3-16 22:05):
不知道是否跟我更新了OpenSSL和openssh有关系?

补充内容 (2022-3-16 22:06):
# ssh -V
OpenSSH_8.8p1, OpenSSL 1.1.1m14 Dec 2021

licess 发表于 2022-3-17 09:02:21

inertgas 发表于 2022-3-16 21:51
添加了新的DNS,之前的报错应该解决了,但是还是PHP安装失败了。
https://wss1.cn/f/7uhcpxa5q0d 复制链 ...

ext/openssl/.libs/openssl.o: In function `zm_startup_openssl':
/root/lnmp1.8/src/php-7.4.21/ext/openssl/openssl.c:1471: undefined reference to `OPENSSL_init_ssl'
ext/openssl/.libs/openssl.o: In function `php_openssl_asn1_time_to_time_t':
/root/lnmp1.8/src/php-7.4.21/ext/openssl/openssl.c:973: undefined reference to `ASN1_STRING_get0_data'
/root/lnmp1.8/src/php-7.4.21/ext/openssl/openssl.c:988: undefined reference to `ASN1_STRING_get0_data'
/root/lnmp1.8/src/php-7.4.21/ext/openssl/openssl.c:988: undefined reference to `ASN1_STRING_get0_data'
ext/openssl/.libs/openssl.o: In function `sk_X509_pop':
/usr/local/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_pop'
。。。。。。
/root/lnmp1.8/src/php-7.4.21/ext/openssl/xp_ssl.c:1620: undefined reference to `TLS_server_method'
/root/lnmp1.8/src/php-7.4.21/ext/openssl/xp_ssl.c:1677: undefined reference to `SSL_CTX_set_security_level'
/root/lnmp1.8/src/php-7.4.21/ext/openssl/xp_ssl.c:1620: undefined reference to `TLS_client_method'
/root/lnmp1.8/src/php-7.4.21/ext/openssl/xp_ssl.c:1714: undefined reference to `SSL_CTX_set_options'
ext/openssl/.libs/xp_ssl.o: In function `php_openssl_set_server_specific_opts':
/root/lnmp1.8/src/php-7.4.21/ext/openssl/xp_ssl.c:1293: undefined reference to `SSL_CTX_get_options'
/root/lnmp1.8/src/php-7.4.21/ext/openssl/xp_ssl.c:1320: undefined reference to `SSL_CTX_set_options'
ext/openssl/.libs/xp_ssl.o: In function `sk_GENERAL_NAME_num':
/usr/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_num'
ext/openssl/.libs/xp_ssl.o: In function `sk_GENERAL_NAME_value':
/usr/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_value'
ext/openssl/.libs/xp_ssl.o: In function `sk_GENERAL_NAME_pop_free':
/usr/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_pop_free'
/usr/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_pop_free'
/usr/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_pop_free'
ext/ftp/.libs/ftp.o: In function `ftp_login':
/root/lnmp1.8/src/php-7.4.21/ext/ftp/ftp.c:280: undefined reference to `TLS_client_method'
/root/lnmp1.8/src/php-7.4.21/ext/ftp/ftp.c:289: undefined reference to `SSL_CTX_set_options'
ext/phar/.libs/util.o: In function `phar_verify_signature':
/root/lnmp1.8/src/php-7.4.21/ext/phar/util.c:1559: undefined reference to `EVP_MD_CTX_new'
/root/lnmp1.8/src/php-7.4.21/ext/phar/util.c:1593: undefined reference to `EVP_MD_CTX_free'
/root/lnmp1.8/src/php-7.4.21/ext/phar/util.c:1583: undefined reference to `EVP_MD_CTX_free'
ext/phar/.libs/util.o: In function `phar_create_signature':
/root/lnmp1.8/src/php-7.4.21/ext/phar/util.c:1839: undefined reference to `EVP_MD_CTX_new'
/root/lnmp1.8/src/php-7.4.21/ext/phar/util.c:1875: undefined reference to `EVP_MD_CTX_free'
collect2: error: ld returned 1 exit status
make: *** 错误 1
你自行升级的openssl有问题
页: [1]
查看完整版本: LNMP 1.8 安装失败,请求协助解决