冰镇可乐 发表于 2023-8-22 22:00:01

【待反馈】Ubuntu 20.04 BT 8.01 安装PHP7.4出错装不了

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:8.01
系统版本:Ubuntu 20.04.6 LTS x86_64(Py3.7.9) 
问题描述:安装PHP7.4出错装不了
相关截图(日志、错误):
/bin/ld: openssl.c:(.text+0x55eb): undefined reference to `sk_free'
/bin/ld: openssl.c:(.text+0x560d): undefined reference to `sk_free'
/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_x509_checkpurpose':
openssl.c:(.text+0x58f6): undefined reference to `sk_pop_free'
/bin/ld: ext/openssl/.libs/openssl.o: in function `php_sk_X509_free':
openssl.c:(.text+0x60d3): undefined reference to `sk_pop'
/bin/ld: openssl.c:(.text+0x60f9): undefined reference to `sk_free'
/bin/ld: ext/openssl/.libs/openssl.o: in function `php_array_to_X509_sk':
openssl.c:(.text+0x6128): undefined reference to `sk_new_null'
/bin/ld: openssl.c:(.text+0x620e): undefined reference to `sk_push'
/bin/ld: openssl.c:(.text+0x6285): undefined reference to `sk_push'
/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_pkcs12_read':
openssl.c:(.text+0x730a): undefined reference to `sk_num'
/bin/ld: openssl.c:(.text+0x7381): undefined reference to `sk_pop'
/bin/ld: openssl.c:(.text+0x75b0): undefined reference to `sk_free'
/bin/ld: ext/openssl/.libs/openssl.o: in function `php_openssl_make_REQ':
openssl.c:(.text+0x7c3e): undefined reference to `sk_value'
/bin/ld: openssl.c:(.text+0x7e96): undefined reference to `sk_num'
/bin/ld: openssl.c:(.text+0x8300): undefined reference to `sk_value'
/bin/ld: openssl.c:(.text+0x83d6): undefined reference to `sk_num'
/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_pkcs7_verify':
openssl.c:(.text+0x10d30): undefined reference to `sk_value'
/bin/ld: openssl.c:(.text+0x10da7): undefined reference to `sk_num'
/bin/ld: openssl.c:(.text+0x10dbf): undefined reference to `sk_free'
/bin/ld: openssl.c:(.text+0x10ef8): undefined reference to `sk_pop_free'
/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_pkcs7_encrypt':
openssl.c:(.text+0x110ce): undefined reference to `sk_new_null'
/bin/ld: openssl.c:(.text+0x11200): undefined reference to `sk_push'
/bin/ld: openssl.c:(.text+0x112a8): undefined reference to `sk_push'
/bin/ld: openssl.c:(.text+0x11632): undefined reference to `sk_pop_free'
/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_pkcs7_read':
openssl.c:(.text+0x119f7): undefined reference to `sk_value'
/bin/ld: openssl.c:(.text+0x11c23): undefined reference to `sk_num'
/bin/ld: openssl.c:(.text+0x11c63): undefined reference to `sk_value'
/bin/ld: openssl.c:(.text+0x11e5f): undefined reference to `sk_num'
/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_pkcs7_sign':
openssl.c:(.text+0x1252d): undefined reference to `sk_pop_free'
/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_sign':
openssl.c:(.text+0x14097): undefined reference to `EVP_MD_CTX_create'
/bin/ld: openssl.c:(.text+0x1420b): undefined reference to `EVP_MD_CTX_destroy'
/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_verify':
openssl.c:(.text+0x14459): undefined reference to `EVP_MD_CTX_create'
/bin/ld: openssl.c:(.text+0x144d4): undefined reference to `EVP_MD_CTX_destroy'
/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_seal':
openssl.c:(.text+0x14abe): undefined reference to `EVP_CIPHER_CTX_cleanup'
/bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_digest':
openssl.c:(.text+0x16183): undefined reference to `EVP_MD_CTX_create'
/bin/ld: openssl.c:(.text+0x16586): undefined reference to `EVP_MD_CTX_destroy'
/bin/ld: ext/openssl/.libs/openssl.o: in function `php_openssl_encrypt':
openssl.c:(.text+0x179c8): undefined reference to `EVP_CIPHER_CTX_cleanup'
/bin/ld: ext/openssl/.libs/openssl.o: in function `php_openssl_decrypt':
openssl.c:(.text+0x18174): undefined reference to `EVP_CIPHER_CTX_cleanup'
/bin/ld: ext/openssl/.libs/xp_ssl.o: in function `php_openssl_matches_san_list':
xp_ssl.c:(.text+0xfc6): undefined reference to `sk_num'
/bin/ld: xp_ssl.c:(.text+0xfec): undefined reference to `sk_value'
/bin/ld: xp_ssl.c:(.text+0x10d4): undefined reference to `sk_pop_free'
/bin/ld: xp_ssl.c:(.text+0x11b3): undefined reference to `sk_pop_free'
/bin/ld: xp_ssl.c:(.text+0x11e6): undefined reference to `sk_pop_free'
/bin/ld: ext/openssl/.libs/xp_ssl.o: in function `php_openssl_set_server_specific_opts':
xp_ssl.c:(.text+0x2e18): undefined reference to `SSL_CTX_set_tmp_rsa_callback'
/bin/ld: ext/openssl/.libs/xp_ssl.o: in function `php_openssl_create_sni_server_ctx':
xp_ssl.c:(.text+0x307a): undefined reference to `SSLv23_server_method'
/bin/ld: ext/openssl/.libs/xp_ssl.o: in function `php_openssl_setup_crypto':
xp_ssl.c:(.text+0x4074): undefined reference to `SSLv23_client_method'
/bin/ld: xp_ssl.c:(.text+0x407b): undefined reference to `SSLv23_server_method'
/bin/ld: ext/openssl/.libs/xp_ssl.o: in function `php_openssl_capture_peer_certs':
xp_ssl.c:(.text+0x4fe8): undefined reference to `sk_num'
/bin/ld: xp_ssl.c:(.text+0x5031): undefined reference to `sk_value'
/bin/ld: xp_ssl.c:(.text+0x50a5): undefined reference to `sk_num'
/bin/ld: ext/ftp/.libs/php_ftp.o: in function `zm_startup_ftp':
php_ftp.c:(.text+0x3e): undefined reference to `SSL_library_init'
/bin/ld: php_ftp.c:(.text+0x43): undefined reference to `OpenSSL_add_all_ciphers'
/bin/ld: php_ftp.c:(.text+0x48): undefined reference to `OpenSSL_add_all_digests'
/bin/ld: php_ftp.c:(.text+0x4d): undefined reference to `OPENSSL_add_all_algorithms_noconf'
/bin/ld: php_ftp.c:(.text+0x52): undefined reference to `SSL_load_error_strings'
/bin/ld: ext/ftp/.libs/ftp.o: in function `ftp_login':
ftp.c:(.text+0x58d): undefined reference to `SSLv23_client_method'
/bin/ld: ext/phar/.libs/util.o: in function `phar_verify_signature':
util.c:(.text+0x5670): undefined reference to `EVP_MD_CTX_create'
/bin/ld: util.c:(.text+0x57bc): undefined reference to `EVP_MD_CTX_destroy'
/bin/ld: util.c:(.text+0x580e): undefined reference to `EVP_MD_CTX_destroy'
/bin/ld: ext/phar/.libs/util.o: in function `phar_create_signature':
util.c:(.text+0x6220): undefined reference to `EVP_MD_CTX_create'
/bin/ld: util.c:(.text+0x6447): undefined reference to `EVP_MD_CTX_destroy'
collect2: error: ld returned 1 exit status
make: *** Error 1
========================================================
Ubuntu 20.04.6 LTS

南南呦 发表于 2023-8-22 22:22:37

您好,您更换其他版本php版本使用极速安装试试是否可以正常安装

冰镇可乐 发表于 2023-8-22 23:07:02

堡塔运维向樛木 发表于 2023-8-22 22:22
您好,您更换其他版本php版本使用极速安装试试是否可以正常安装

都不行,安装7.3 也不行哦!谢谢!

冰镇可乐 发表于 2023-8-23 14:45:11



都不行,安装7.3 也不行哦!谢谢

冰镇可乐 发表于 2023-8-23 19:59:17


/bin/ld: util.c:(.text+0x57bc): undefined reference to `EVP_MD_CTX_destroy'
/bin/ld: util.c:(.text+0x580e): undefined reference to `EVP_MD_CTX_destroy'
/bin/ld: ext/phar/.libs/util.o: in function `phar_create_signature':
util.c:(.text+0x6220): undefined reference to `EVP_MD_CTX_create'
/bin/ld: util.c:(.text+0x6447): undefined reference to `EVP_MD_CTX_destroy'
collect2: error: ld returned 1 exit status
make: *** Error 1
========================================================
Ubuntu 20.04.6 LTS

Bit:64 Mem:64110M Core:20 gcc:9.4.0 cmake:3.16.3
Linux 5.15.0-79-generic x86_64

冰镇可乐 发表于 2023-8-23 20:40:08

重新卸载宝塔,重新安装也不行!

冰镇可乐 发表于 2023-8-23 23:04:07


把日志附上,谢谢!

冰镇可乐 发表于 2023-8-23 23:04:38

堡塔运维向樛木 发表于 2023-8-22 22:22
您好,您更换其他版本php版本使用极速安装试试是否可以正常安装

已附上最新的日志,拜托啦!

南南呦 发表于 2023-8-24 09:48:38

冰镇可乐 发表于 2023-8-23 23:04
已附上最新的日志,拜托啦!

在安装的过程中提示编译openssl模块失败,您可以尝试手动编译下,如果无法自行处理的话私信发下面板登录信息,这边协助您处理下。

冰镇可乐 发表于 2023-8-24 20:44:38

堡塔运维向樛木 发表于 2023-8-24 09:48
在安装的过程中提示编译openssl模块失败,您可以尝试手动编译下,如果无法自行处理的话私信发下面板登录 ...

已经私信您,谢谢!

堡塔运维南一 发表于 2024-3-15 20:10:01

您好,这个问题解决了了吗
页: [1]
查看完整版本: 【待反馈】Ubuntu 20.04 BT 8.01 安装PHP7.4出错装不了