VPS侦探论坛

 找回密码
 注册
查看: 2972|回复: 1

lnmp1.8 升级PHP8.0.3 失败

[复制链接]
发表于 2021-4-14 23:05:43 | 显示全部楼层 |阅读模式

lnmp1.8 升级PHP8.0.3 失败,系统版本:CentOS Linux release 7.9.2009 (Core),错误信息如下:
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/openssl/xp_ssl.o: in function `sk_GENERAL_NAME_num':
/usr/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_num'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/openssl/xp_ssl.o: in function `sk_GENERAL_NAME_value':
/usr/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_value'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: 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'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /usr/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_pop_free'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /usr/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_pop_free'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/ftp/ftp.o: in function `ftp_login':
/data/soft/lnmp1.8/src/php-8.0.3/ext/ftp/ftp.c:266: undefined reference to `TLS_client_method'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /data/soft/lnmp1.8/src/php-8.0.3/ext/ftp/ftp.c:275: undefined reference to `SSL_CTX_set_options'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/phar/util.o: in function `phar_verify_signature':
/data/soft/lnmp1.8/src/php-8.0.3/ext/phar/util.c:1559: undefined reference to `EVP_MD_CTX_new'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /data/soft/lnmp1.8/src/php-8.0.3/ext/phar/util.c:1593: undefined reference to `EVP_MD_CTX_free'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /data/soft/lnmp1.8/src/php-8.0.3/ext/phar/util.c:1583: undefined reference to `EVP_MD_CTX_free'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: ext/phar/util.o: in function `phar_create_signature':
/data/soft/lnmp1.8/src/php-8.0.3/ext/phar/util.c:1839: undefined reference to `EVP_MD_CTX_new'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /data/soft/lnmp1.8/src/php-8.0.3/ext/phar/util.c:1875: undefined reference to `EVP_MD_CTX_free'
collect2: error: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1




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


仅按照现有提供的日志,你系统上的openssl存在问题或者被手动升降级过
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-21 02:37 , Processed in 0.025445 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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