当前位置:论坛首页 > Linux面板 > 求助

【待反馈】centos7编译安装php7.4报这个错误,帮忙看下

发表在 Linux面板2021-4-22 14:20 [复制链接] 6 5843

  1. Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dtrace.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_vm_opcodes.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_builtin_functions.lo Zend/zend_ini.lo Zend/zend_sort.lo Zend/zend_multibyte.lo Zend/zend_ts_hash.lo Zend/zend_stream.lo Zend/zend_iterators.lo Zend/zend_interfaces.lo Zend/zend_exceptions.lo Zend/zend_strtod.lo Zend/zend_gc.lo Zend/zend_closures.lo Zend/zend_weakrefs.lo Zend/zend_float.lo Zend/zend_string.lo Zend/zend_signal.lo Zend/zend_generators.lo Zend/zend_virtual_cwd.lo Zend/zend_ast.lo Zend/zend_objects.lo Zend/zend_object_handlers.lo Zend/zend_objects_API.lo Zend/zend_default_classes.lo Zend/zend_inheritance.lo Zend/zend_smart_str.lo Zend/zend_cpuinfo.lo Zend/zend_execute.lo main/internal_functions_cli.lo sapi/cli/php_cli.lo sapi/cli/php_http_parser.lo sapi/cli/php_cli_server.lo sapi/cli/ps_title.lo sapi/cli/php_cli_process_title.lo -lcrypt -lresolv -lcrypt -lrt -lstdc++ -lrt -lm -ldl -L/usr/local/openssl/lib -L/usr/local/curl/lib -lxml2 -lssl -lcrypto -lsqlite3 -lz -lcurl -lssl -lcrypto -lxml2 -lssl -lcrypto -lz -lpng15 -lwebp -ljpeg -lfreetype -licuio -licui18n -licuuc -licudata -lonig -lsqlite3 -lxml2 -lxml2 -lsodium -lcrypt -lxml2 -lxml2 -lxml2 -lxml2 -lz -lssl -lcrypto -lcrypt  -o sapi/cli/php
  2. ext/curl/.libs/interface.o: In function `curl_free_post':
  3. interface.c:(.text+0x6a12): undefined reference to `curl_mime_free'
  4. ext/curl/.libs/interface.o: In function `build_mime_structure_from_hash':
  5. interface.c:(.text+0x876e): undefined reference to `curl_mime_init'
  6. interface.c:(.text+0x8d04): undefined reference to `curl_mime_addpart'
  7. interface.c:(.text+0x8e3b): undefined reference to `curl_mime_name'
  8. interface.c:(.text+0x8e7a): undefined reference to `curl_mime_data_cb'
  9. interface.c:(.text+0x8eaa): undefined reference to `curl_mime_filename'
  10. interface.c:(.text+0x8ed9): undefined reference to `curl_mime_type'
  11. interface.c:(.text+0x90a2): undefined reference to `curl_mime_addpart'
  12. interface.c:(.text+0x92ff): undefined reference to `curl_mime_name'
  13. interface.c:(.text+0x932a): undefined reference to `curl_mime_data'
  14. ext/curl/.libs/multi.o: In function `_php_server_push_callback':
  15. multi.c:(.text+0x3107): undefined reference to `curl_pushheader_bynum'
  16. collect2: error: ld returned 1 exit status
  17. make: *** [sapi/cli/php] Error 1
复制代码


使用道具 举报 只看该作者 回复
发表于 2021-4-22 14:23:21 | 显示全部楼层
您好,需要你具体安装的执行日志,这么一点看不出具体问题。
同时你服务器是什么系统版本以及系统架构是什么,执行下面命令看看

  1. uname -a
复制代码

使用道具 举报 回复 支持 反对
发表于 2021-4-22 14:31:03 | 显示全部楼层
服务器版本信息:Linux iz2ze85opgs9ottfrxprpyz 3.10.0-514.16.1.el7.x86_64 #1 SMP Wed Apr 12 15:04:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
报错字数太多不让写,我附件形式传了
报错信息.rar (5.64 KB, 下载次数: 99341)
使用道具 举报 回复 支持 反对
发表于 2021-4-22 14:46:51 | 显示全部楼层
谢花郎 发表于 2021-4-22 14:23
您好,需要你具体安装的执行日志,这么一点看不出具体问题。
同时你服务器是什么系统版本以及系统架构是什 ...

已经提供了
使用道具 举报 回复 支持 反对
发表于 2021-4-22 16:52:28 | 显示全部楼层

使用极速模式看看,如果有报错也将错误信息发一下。
使用道具 举报 回复 支持 反对
发表于 2021-4-22 19:32:37 | 显示全部楼层
谢花郎 发表于 2021-4-22 16:52
使用极速模式看看,如果有报错也将错误信息发一下。


和编译安装一样的报错信息 报错信息.rar (5.64 KB, 下载次数: 99320)
使用道具 举报 回复 支持 反对
发表于 2023-4-3 20:49:52 | 显示全部楼层
解决了吗,我也是同样的问题
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

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

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

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

点击联系技术免费分析

工作时间:09:00至18:30

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