RHEL7.9离线 PHP8.0.20报错
安装的时候就看到一个errormake: *** Error 1
请问一下这个应该怎么解决。在自己的虚拟机7.9上面安装是没有报错的
日志太大穿不上来:'(
php:/- usr8.0.20undefined/ local/reference/ extto/ `srcopenssl/SSL_CTX_set_options/lnmp1.9openssl.c-'full
:/extsrc3958//:openssl/php xp_ssl.o-undefined:8.0.20 / extreference/In openssl to/function xp_ssl.c` :DSA_get0_key1290`':
sk_GENERAL_NAME_num '/undefined:usr
//referenceusrlocal/ /localcollect2: error: ld returned 1 exit status
undefinedext /referenceopenssl /toxp_ssl.o :` EVP_MD_CTX_freeIn'
functionext /`pharphp_openssl_create_sni_server_ctx/'util.o::
/Inusr /functionlocal /`src/phar_create_signaturelnmp1.9':-
/fullusr//local/srcsrc//lnmp1.9php--full8.0.20//srcext//phpopenssl-/8.0.20xp_ssl.c/:ext1359/:phar /undefinedutil.c :reference1843 :to`undefinedTLS_server_method 'reference
ext /toopenssl/ xp_ssl.o`:EVP_MD_CTX_new 'In
/function usr`/sk_X509_numlocal'/:src
//usr/lnmp1.9local-/fullinclude//srcopenssl//x509.h:php99-:8.0.20 /undefinedext /referencephar /toutil.c :`1879OPENSSL_sk_num:'
undefinedcollect2: error: ld returned 1 exit status
/usr/local/src/lnmp1.9-full/src/php-8.0.20/ext/openssl/xp_ssl.c:1617: undefined reference to `TLS_server_method'
/usr/local/src/lnmp1.9-full/src/php-8.0.20/ext/openssl/xp_ssl.c:1674: undefined reference to `SSL_CTX_set_security_level'
/usr/local/src/lnmp1.9-full/src/php-8.0.20collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
make: *** Error 1
make: *** Waiting for unfinished jobs....
make: *** Error 1
make: *** Error 1
make: *** Error 1 里面有一大堆的undefined referrence 还有个问题,安装失败了 怎么卸载掉啊 查日志发现很多openssl的错误。因为本地虚拟机和生产虚拟机是一样的系统版本号 所以 我对比了一下 本地 openssl version 是 1.0.2k-fip(默认版) 线上是 1.1.1k。请问是不是这个原因呢 ltt 发表于 2022-6-29 17:38
查日志发现很多openssl的错误。因为本地虚拟机和生产虚拟机是一样的系统版本号 所以 我对比了一下 本地 ope ...
/usr/local/src/lnmp1.8-full/src/php-8.0.8/ext/openssl/openssl.c:2863: undefined reference to `X509_REQ_get_subject_name'
ext/openssl/openssl.o: In function `sk_CONF_VALUE_num':
/usr/local/include/openssl/conf.h:30: undefined reference to `OPENSSL_sk_num'
ext/openssl/openssl.o: In function `sk_CONF_VALUE_value':
/usr/local/include/openssl/conf.h:30: undefined reference to `OPENSSL_sk_value'
ext/openssl/openssl.o: In function `sk_CONF_VALUE_num':
/usr/local/include/openssl/conf.h:30: undefined reference to `OPENSSL_sk_num'
/usr/local/include/openssl/conf.h:30: undefined reference to `OPENSSL_sk_num'
ext/openssl/openssl.o: In function `sk_CONF_VALUE_value':
/usr/local/include/openssl/conf.h:30: undefined reference to `OPENSSL_sk_value'
ext/openssl/openssl.o: In function `php_openssl_pkey_init_and_assign_rsa':
/usr/local/src/lnmp1.8-full/src/php-8.0.8/ext/openssl/openssl.c:3902: undefined reference to `RSA_set0_key'
/usr/local/src/lnmp1.8-full/src/php-8.0.8/ext/openssl/openssl.c:3908: undefined reference to `RSA_set0_factors'
ext/openssl/openssl.o: In function `php_openssl_pkey_init_dsa':
/usr/local/src/lnmp1.8-full/src/php-8.0.8/ext/openssl/openssl.c:3936: undefined reference to `DSA_set0_pqg'
/usr/local/src/lnmp1.8-full/src/php-8.0.8/ext/openssl/openssl.c:3943: undefined reference to `DSA_set0_key'
ext/openssl/openssl.o: In function `php_openssl_pkey_init_dh':
/usr/local/src/lnmp1.8-full/src/php-8.0.8/ext/openssl/openssl.c:4013: undefined reference to `DH_set0_pqg'
ext/openssl/openssl.o: In function `php_openssl_dh_pub_from_priv':
/usr/local/src/lnmp1.8-full/src/php-8.0.8/ext/openssl/openssl.c:3990: undefined reference to `BN_with_flags'
ext/openssl/openssl.o: In function `php_openssl_pkey_init_dh':
/usr/local/src/lnmp1.8-full/src/php-8.0.8/ext/openssl/openssl.c:4027: undefined reference to `DH_set0_key'
ext/openssl/openssl.o: In function `php_openssl_pkey_init_dsa':
/usr/local/src/lnmp1.8-full/src/php-8.0.8/ext/openssl/openssl.c:3955: undefined reference to `DSA_get0_key'
/usr/local/src/lnmp1.8-full/src/php-8.0.8/ext/openssl/openssl.c:3956: undefined reference to `BN_is_zero'
ext/openssl/openssl.o: In function `php_openssl_pkey_init_and_assign_rsa':
/usr/local/src/lnmp1.8-full/src/php-8.0.8/ext/openssl/openssl.c:3915: undefined reference to `RSA_set0_crt_params'
ext/openssl/openssl.o: In function `php_openssl_pkey_init_dh':
/usr/local/src/lnmp1.8-full/src/php-8.0.8/ext/openssl/openssl.c:4020: undefined reference to `DH_set0_key'
ext/openssl/openssl.o: In function `zif_openssl_pkey_export_to_file':
/usr/local/src/lnmp1.8-full/src/php-8.0.8/ext/openssl/openssl.c:4324: undefined reference to `EVP_PKEY_get0_EC_KEY'
ext/openssl/openssl.o: In function `zif_openssl_pkey_export':
/usr/local/src/lnmp1.8-full/src/php-8.0.8/ext/openssl/openssl.c:4396: undefined reference to `EVP_PKEY_get0_EC_KEY'
ext/openssl/openssl.o: In function `php_openssl_encrypt':
/usr/local/src/lnmp1.8-full/src/php-8.0.8/ext/openssl/openssl.c:7200: undefined reference to `EVP_CIPHER_CTX_reset'
ext/openssl/openssl.o: In function `php_openssl_decrypt':
/usr/local/src/lnmp1.8-full/src/php-8.0.8/ext/openssl/openssl.c:7301: undefined reference to `EVP_CIPHER_CTX_reset'
ext/openssl/openssl.o: In function `sk_X509_free':
/usr/local/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_free'
日志需要按问题反馈必读要求上传
目测是你这机器是自行升级了openssl而且是有问题导致的 licess 发表于 2022-6-29 21:25
日志需要按问题反馈必读要求上传
目测是你这机器是自行升级了openssl而且是有问题导致的 ...
日志压缩了也超过上传的限制,openssl确实版本跟我自己的环境不一样是1.1.1k,但是查询ssh的时候出来的ssl版本 又是1.0.2k-fip 应该属于升级openssh但是只升级一半 ltt 发表于 2022-6-29 21:43
日志压缩了也超过上传的限制,openssl确实版本跟我自己的环境不一样是1.1.1k,但是查询ssh的时候出来的ss ...
论坛是小空间小内存小带宽机器存不了附件,按问题反馈必读要求上传
RHEL 7自带的openssl都是1.0.2是1.1.1肯定就是动过
页:
[1]