当前位置:网站首页>Error in PHP installation of Pagoda: libcares so. 2: cannot open shared object file: No such file or directory
Error in PHP installation of Pagoda: libcares so. 2: cannot open shared object file: No such file or directory
2022-06-22 09:34:00 【ootw】
System environment Tencent cloud debian 10 64 position , pagoda Free version 7.8.0
Let's just say the solution : install apt install libc-ares2 , Then go to the pagoda and install it OK 了 .
The following is the process of solving the problem
The error message is like this :
/www/server/php/70/sbin/php-fpm: error while loading shared libraries: libcares.so.2: cannot open shared object file: No such file or directoryOf course , If PHP Different versions may also be the following :
/www/server/php/52/sbin/php-fpm: error while loading shared libraries: libcares.so.2: cannot open shared object file: No such file or directory
/www/server/php/53/sbin/php-fpm: error while loading shared libraries: libcares.so.2: cannot open shared object file: No such file or directory
/www/server/php/54/sbin/php-fpm: error while loading shared libraries: libcares.so.2: cannot open shared object file: No such file or directory
/www/server/php/55/sbin/php-fpm: error while loading shared libraries: libcares.so.2: cannot open shared object file: No such file or directory
/www/server/php/56/sbin/php-fpm: error while loading shared libraries: libcares.so.2: cannot open shared object file: No such file or directory
/www/server/php/70/sbin/php-fpm: error while loading shared libraries: libcares.so.2: cannot open shared object file: No such file or directory
/www/server/php/71/sbin/php-fpm: error while loading shared libraries: libcares.so.2: cannot open shared object file: No such file or directory
/www/server/php/72/sbin/php-fpm: error while loading shared libraries: libcares.so.2: cannot open shared object file: No such file or directory
/www/server/php/73/sbin/php-fpm: error while loading shared libraries: libcares.so.2: cannot open shared object file: No such file or directory
/www/server/php/74/sbin/php-fpm: error while loading shared libraries: libcares.so.2: cannot open shared object file: No such file or directory
/www/server/php/80/sbin/php-fpm: error while loading shared libraries: libcares.so.2: cannot open shared object file: No such file or directory
/www/server/php/81/sbin/php-fpm: error while loading shared libraries: libcares.so.2: cannot open shared object file: No such file or directoryIn fact, the main thing is to libcares.so.2 Try to install , I use Tencent cloud debian10. Direct execution :
apt install libcares2It must not be found :
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package curl-loader
Baidu for a long time , Finally know to install libc-ares2, Then perform
apt install libc-ares2Then go to the pagoda to install PHP That's all right. , If you still can't install it , Try the following source again :
deb http://mirrors.ustc.edu.cn/debian/ buster main
deb-src http://mirrors.ustc.edu.cn/debian/ buster main
deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main
# buster-updates, previously known as 'volatile'
deb http://mirrors.ustc.edu.cn/debian/ buster-updates main
deb-src http://mirrors.ustc.edu.cn/debian/ buster-updates main
deb http://mirrors.ustc.edu.cn/debian/ buster-backports main non-free contrib
deb-src http://mirrors.ustc.edu.cn/debian/ buster-backports main non-free contrib
deb http://mirrors.aliyun.com/debian/ stretch main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ stretch main non-free contrib
deb http://mirrors.aliyun.com/debian-security stretch/updates main
deb-src http://mirrors.aliyun.com/debian-security stretch/updates main
deb http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib
deb http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib
Thank you very much for seeing here , In fact, I am also a rookie , If you haven't solved this problem , Please leave a message . Let's study .
边栏推荐
- Brush questions in C language | judge whether a certain year is only a leap year (12)
- IS_ ERR()
- C语言刷题 | 用%f控制符输出6位小数(17)
- Brush questions in C language | output 6 decimal places with%f control character (17)
- Typical cases of final
- 秋招秘籍A
- 5 interview questions, grasp the underlying principle of string!
- Feedforward and backpropagation
- . A use of file link library
- [node] scaffolding server to complete token verification
猜你喜欢

论文笔记:DETR: End-to-End Object Detection with Transformers (from 李沐老师and朱老师)
![[uni app] actual combat summary (including multi terminal packaging)](/img/35/6b0672311b033bc89f1518dd794777.png)
[uni app] actual combat summary (including multi terminal packaging)

It is hoped that more and more women will engage in scientific and technological work

Debian10配置RSyslog+LoganAlyzer日志服务器

锁-ReentrantLock
[Architect (Part 39)] connecting MySQL database developed by server

秋招秘籍B
![[学习笔记] 回滚莫队](/img/19/d374dd172b9609a3f57de50791b19e.png)
[学习笔记] 回滚莫队

编译basalt时出现的报错

Why use gradient descent method
随机推荐
Byte/byte? Don't get dizzy!
[ZOJ] P3228 Searching the String
MySQL中常用的SQL语句
支付-订单案例构建
编译basalt时出现的报错
Brush questions in C language | output love (14) with putchar
通过docker安装mysql(5.7+8.0)并配置主从复制(GTID+增强半同步)
C语言刷题 | 用%f控制符输出6位小数(17)
Traifik ingress practice
Summary and future prospect of transfer learning | community essay solicitation
Hoo Research Institute of Hufu: how does cosmos connect the chain with the "port" of the chain?
秋招秘籍B
实现AD环境下多用户隔离FTP
[模板] kmp
Centos7安装PostgreSQL12
SQL编程task03作业-复杂一点的查询
Feedforward and backpropagation
The difference between single bracket and double bracket in shell
Curl grasping stock information
Brush questions in C language | judge whether a certain year is only a leap year (12)