lnmp1.8 升级PHP8.0.3 失败
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: *** Error 1
仅按照现有提供的日志,你系统上的openssl存在问题或者被手动升降级过
页:
[1]