宝塔51特惠活动,企业版1099元/年,送SSL证书,最高立减2万元!查看活动
当前位置:论坛首页 > Linux面板 > 求助

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

发表在 Linux面板2023-8-22 22:00 [复制链接] 10 2706

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:8.01

系统版本:Ubuntu 20.04.6 LTS x86_64(Py3.7.9) 

问题描述:安装PHP7.4出错装不了

相关截图(日志、错误):
  1. /bin/ld: openssl.c:(.text+0x55eb): undefined reference to `sk_free'
  2. /bin/ld: openssl.c:(.text+0x560d): undefined reference to `sk_free'
  3. /bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_x509_checkpurpose':
  4. openssl.c:(.text+0x58f6): undefined reference to `sk_pop_free'
  5. /bin/ld: ext/openssl/.libs/openssl.o: in function `php_sk_X509_free':
  6. openssl.c:(.text+0x60d3): undefined reference to `sk_pop'
  7. /bin/ld: openssl.c:(.text+0x60f9): undefined reference to `sk_free'
  8. /bin/ld: ext/openssl/.libs/openssl.o: in function `php_array_to_X509_sk':
  9. openssl.c:(.text+0x6128): undefined reference to `sk_new_null'
  10. /bin/ld: openssl.c:(.text+0x620e): undefined reference to `sk_push'
  11. /bin/ld: openssl.c:(.text+0x6285): undefined reference to `sk_push'
  12. /bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_pkcs12_read':
  13. openssl.c:(.text+0x730a): undefined reference to `sk_num'
  14. /bin/ld: openssl.c:(.text+0x7381): undefined reference to `sk_pop'
  15. /bin/ld: openssl.c:(.text+0x75b0): undefined reference to `sk_free'
  16. /bin/ld: ext/openssl/.libs/openssl.o: in function `php_openssl_make_REQ':
  17. openssl.c:(.text+0x7c3e): undefined reference to `sk_value'
  18. /bin/ld: openssl.c:(.text+0x7e96): undefined reference to `sk_num'
  19. /bin/ld: openssl.c:(.text+0x8300): undefined reference to `sk_value'
  20. /bin/ld: openssl.c:(.text+0x83d6): undefined reference to `sk_num'
  21. /bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_pkcs7_verify':
  22. openssl.c:(.text+0x10d30): undefined reference to `sk_value'
  23. /bin/ld: openssl.c:(.text+0x10da7): undefined reference to `sk_num'
  24. /bin/ld: openssl.c:(.text+0x10dbf): undefined reference to `sk_free'
  25. /bin/ld: openssl.c:(.text+0x10ef8): undefined reference to `sk_pop_free'
  26. /bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_pkcs7_encrypt':
  27. openssl.c:(.text+0x110ce): undefined reference to `sk_new_null'
  28. /bin/ld: openssl.c:(.text+0x11200): undefined reference to `sk_push'
  29. /bin/ld: openssl.c:(.text+0x112a8): undefined reference to `sk_push'
  30. /bin/ld: openssl.c:(.text+0x11632): undefined reference to `sk_pop_free'
  31. /bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_pkcs7_read':
  32. openssl.c:(.text+0x119f7): undefined reference to `sk_value'
  33. /bin/ld: openssl.c:(.text+0x11c23): undefined reference to `sk_num'
  34. /bin/ld: openssl.c:(.text+0x11c63): undefined reference to `sk_value'
  35. /bin/ld: openssl.c:(.text+0x11e5f): undefined reference to `sk_num'
  36. /bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_pkcs7_sign':
  37. openssl.c:(.text+0x1252d): undefined reference to `sk_pop_free'
  38. /bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_sign':
  39. openssl.c:(.text+0x14097): undefined reference to `EVP_MD_CTX_create'
  40. /bin/ld: openssl.c:(.text+0x1420b): undefined reference to `EVP_MD_CTX_destroy'
  41. /bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_verify':
  42. openssl.c:(.text+0x14459): undefined reference to `EVP_MD_CTX_create'
  43. /bin/ld: openssl.c:(.text+0x144d4): undefined reference to `EVP_MD_CTX_destroy'
  44. /bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_seal':
  45. openssl.c:(.text+0x14abe): undefined reference to `EVP_CIPHER_CTX_cleanup'
  46. /bin/ld: ext/openssl/.libs/openssl.o: in function `zif_openssl_digest':
  47. openssl.c:(.text+0x16183): undefined reference to `EVP_MD_CTX_create'
  48. /bin/ld: openssl.c:(.text+0x16586): undefined reference to `EVP_MD_CTX_destroy'
  49. /bin/ld: ext/openssl/.libs/openssl.o: in function `php_openssl_encrypt':
  50. openssl.c:(.text+0x179c8): undefined reference to `EVP_CIPHER_CTX_cleanup'
  51. /bin/ld: ext/openssl/.libs/openssl.o: in function `php_openssl_decrypt':
  52. openssl.c:(.text+0x18174): undefined reference to `EVP_CIPHER_CTX_cleanup'
  53. /bin/ld: ext/openssl/.libs/xp_ssl.o: in function `php_openssl_matches_san_list':
  54. xp_ssl.c:(.text+0xfc6): undefined reference to `sk_num'
  55. /bin/ld: xp_ssl.c:(.text+0xfec): undefined reference to `sk_value'
  56. /bin/ld: xp_ssl.c:(.text+0x10d4): undefined reference to `sk_pop_free'
  57. /bin/ld: xp_ssl.c:(.text+0x11b3): undefined reference to `sk_pop_free'
  58. /bin/ld: xp_ssl.c:(.text+0x11e6): undefined reference to `sk_pop_free'
  59. /bin/ld: ext/openssl/.libs/xp_ssl.o: in function `php_openssl_set_server_specific_opts':
  60. xp_ssl.c:(.text+0x2e18): undefined reference to `SSL_CTX_set_tmp_rsa_callback'
  61. /bin/ld: ext/openssl/.libs/xp_ssl.o: in function `php_openssl_create_sni_server_ctx':
  62. xp_ssl.c:(.text+0x307a): undefined reference to `SSLv23_server_method'
  63. /bin/ld: ext/openssl/.libs/xp_ssl.o: in function `php_openssl_setup_crypto':
  64. xp_ssl.c:(.text+0x4074): undefined reference to `SSLv23_client_method'
  65. /bin/ld: xp_ssl.c:(.text+0x407b): undefined reference to `SSLv23_server_method'
  66. /bin/ld: ext/openssl/.libs/xp_ssl.o: in function `php_openssl_capture_peer_certs':
  67. xp_ssl.c:(.text+0x4fe8): undefined reference to `sk_num'
  68. /bin/ld: xp_ssl.c:(.text+0x5031): undefined reference to `sk_value'
  69. /bin/ld: xp_ssl.c:(.text+0x50a5): undefined reference to `sk_num'
  70. /bin/ld: ext/ftp/.libs/php_ftp.o: in function `zm_startup_ftp':
  71. php_ftp.c:(.text+0x3e): undefined reference to `SSL_library_init'
  72. /bin/ld: php_ftp.c:(.text+0x43): undefined reference to `OpenSSL_add_all_ciphers'
  73. /bin/ld: php_ftp.c:(.text+0x48): undefined reference to `OpenSSL_add_all_digests'
  74. /bin/ld: php_ftp.c:(.text+0x4d): undefined reference to `OPENSSL_add_all_algorithms_noconf'
  75. /bin/ld: php_ftp.c:(.text+0x52): undefined reference to `SSL_load_error_strings'
  76. /bin/ld: ext/ftp/.libs/ftp.o: in function `ftp_login':
  77. ftp.c:(.text+0x58d): undefined reference to `SSLv23_client_method'
  78. /bin/ld: ext/phar/.libs/util.o: in function `phar_verify_signature':
  79. util.c:(.text+0x5670): undefined reference to `EVP_MD_CTX_create'
  80. /bin/ld: util.c:(.text+0x57bc): undefined reference to `EVP_MD_CTX_destroy'
  81. /bin/ld: util.c:(.text+0x580e): undefined reference to `EVP_MD_CTX_destroy'
  82. /bin/ld: ext/phar/.libs/util.o: in function `phar_create_signature':
  83. util.c:(.text+0x6220): undefined reference to `EVP_MD_CTX_create'
  84. /bin/ld: util.c:(.text+0x6447): undefined reference to `EVP_MD_CTX_destroy'
  85. collect2: error: ld returned 1 exit status
  86. make: *** [Makefile:290: sapi/cli/php] Error 1
  87. ========================================================
  88. 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: *** [Makefile:290: sapi/cli/php] 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 | 显示全部楼层
rizhi.zip (22.06 KB, 下载次数: 1044)
使用道具 举报 回复 支持 反对
发表于 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 | 显示全部楼层
您好,这个问题解决了了吗
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析
快速回复 返回顶部 返回列表