龙杰 发表于 2023-3-22 12:30:56

【待反馈】configure: error: c-ares library defective or too old

本帖最后由 堡塔运维小林 于 2023-3-22 14:21 编辑

Ubuntu 22.04.2 LTS 安装php8.1报错
configure: error: c-ares library defective or too old

龙杰 发表于 2023-3-22 12:32:13


运维小林q3030251644 发表于 2023-3-22 14:20:31

龙杰 发表于 2023-3-22 12:32


您好,这个错误是表示c-ares库有缺陷或者太旧了,您可以复制下面的命令到终端中执行,更新c-ares库,更新完成之后再重新安装php8.1试试
sudo apt-get update
sudo apt-get upgrade libcares-dev

liuhongxin 发表于 2023-4-7 09:29:28

显示sudo: apt-get: command not found

weiyufie 发表于 2023-4-16 17:09:43

apt-get install libc-ares-dev

阿珂 发表于 2023-10-11 15:05:05

请问解决了吗,如未解决,请重新发帖咨询,感谢配合

Sanplit 发表于 2024-6-13 18:19:04

堡塔运维小林 发表于 2023-3-22 14:20
您好,这个错误是表示c-ares库有缺陷或者太旧了,您可以复制下面的命令到终端中执行,更新c-ares库,更新 ...

apt-get更新了还是无效呢
页: [1]
查看完整版本: 【待反馈】configure: error: c-ares library defective or too old