kwin 发表于 2023-1-13 16:44:41

LNMP1.9的PHP模块一直安装失败

1.8试过,也不行。麻烦看下什么原因


问题log日志地址 https://t.wss.ink/f/a8wxgayweir
liunx系统版本:CentOS Linux release 7.9.2009 (Core)

licess 发表于 2023-1-14 09:50:50

/root/lnmp1.9-full/src/php-8.0.20/ext/openssl/xp_ssl.c:1617: undefined reference to `TLS_server_method'
/root/lnmp1.9-full/src/php-8.0.20/ext/openssl/xp_ssl.c:1674: undefined reference to `SSL_CTX_set_security_level'
/root/lnmp1.9-full/src/php-8.0.20/ext/openssl/xp_ssl.c:1617: undefined reference to `TLS_client_method'
/root/lnmp1.9-full/src/php-8.0.20/ext/openssl/xp_ssl.c:1711: undefined reference to `SSL_CTX_set_options'
ext/openssl/xp_ssl.o: In function `php_openssl_set_server_specific_opts':
/root/lnmp1.9-full/src/php-8.0.20/ext/openssl/xp_ssl.c:1290: undefined reference to `SSL_CTX_get_options'
/root/lnmp1.9-full/src/php-8.0.20/ext/openssl/xp_ssl.c:1317: undefined reference to `SSL_CTX_set_options'
ext/openssl/xp_ssl.o: In function `sk_GENERAL_NAME_num':
/usr/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_num'
ext/openssl/xp_ssl.o: In function `sk_GENERAL_NAME_value':
/usr/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_value'
ext/openssl/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/ftp.o: In function `ftp_login':
/root/lnmp1.9-full/src/php-8.0.20/ext/ftp/ftp.c:271: undefined reference to `TLS_client_method'
/root/lnmp1.9-full/src/php-8.0.20/ext/ftp/ftp.c:280: undefined reference to `SSL_CTX_set_options'
ext/phar/util.o: In function `phar_verify_signature':
/root/lnmp1.9-full/src/php-8.0.20/ext/phar/util.c:1563: undefined reference to `EVP_MD_CTX_new'
/root/lnmp1.9-full/src/php-8.0.20/ext/phar/util.c:1597: undefined reference to `EVP_MD_CTX_free'
/root/lnmp1.9-full/src/php-8.0.20/ext/phar/util.c:1587: undefined reference to `EVP_MD_CTX_free'
ext/phar/util.o: In function `phar_create_signature':
/root/lnmp1.9-full/src/php-8.0.20/ext/phar/util.c:1843: undefined reference to `EVP_MD_CTX_new'
/root/lnmp1.9-full/src/php-8.0.20/ext/phar/util.c:1879: undefined reference to `EVP_MD_CTX_free'
collect2: error: ld returned 1 exit status
make: *** Error 1
自行升级openssl且是有问题而导致的
页: [1]
查看完整版本: LNMP1.9的PHP模块一直安装失败