当前位置:论坛首页 > BUG提交 > Linux面板

【已解决】docker里 php7.4/7.3 libonig.so.5: cannot open shared

发表在 BUG提交2020-5-30 21:53 [复制链接] 6 12607

/www/server/php/74/sbin/php-fpm: error while loading shared libraries: libonig.so.5: cannot open shared object file: No such file or directory

下载.png
系统:CentOS 8.1.1911(Py3.7.4)  免费版 7.2.0

使用道具 举报 只看该作者 回复
发表于 2020-5-30 22:08:36 | 显示全部楼层
解决方案 :
yum install oniguruma - y
yum install libsodium -y
使用道具 举报 回复 支持 1 反对 0
发表于 2020-5-30 22:08:00 | 显示全部楼层
/www/server/php/74/sbin/php-fpm: error while loading shared libraries: libsodium.so.23: cannot open shared object file: No such file or directory
使用道具 举报 回复 支持 反对
发表于 2020-6-2 17:24:04 | 显示全部楼层
dreamxyp 发表于 2020-5-30 22:08
解决方案 :
yum install oniguruma - y
yum install libsodium -y

感谢分享解决办法
使用道具 举报 回复 支持 反对
发表于 2022-1-16 22:24:31 | 显示全部楼层
dreamxyp 发表于 2020-5-30 22:08
解决方案 :
yum install oniguruma - y
yum install libsodium -y

我的docker容器centos无法 yum install oniguruma - y,显示No match for argument: onigurma,Error: Unable to find a match: onigurma?请问咋解决
使用道具 举报 回复 支持 反对
发表于 2022-1-18 10:38:12 | 显示全部楼层
wget https://github.com/kkos/oniguruma/archive/v6.9.7.tar.gz -O oniguruma-6.9.7.tar.gz
tar -zxf oniguruma-6.9.7.tar.gz
cd oniguruma-6.9.7

./autogen.sh && ./configure --prefix=/usr
make && make install
使用道具 举报 回复 支持 反对
发表于 2022-4-15 21:51:18 | 显示全部楼层
宝塔用户_aunjlm 发表于 2022-1-18 10:38
wget https://github.com/kkos/oniguruma/archive/v6.9.7.tar.gz -O oniguruma-6.9.7.tar.gz
tar -zxf onig ...

按这个方法解决了问题
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

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

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

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

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

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表