找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 1914|回复: 3

疑难杂症请大神赐教:老毛子系统无法用opkg安装软件

[复制链接]
发表于 2020-3-12 00:52 | 显示全部楼层 |阅读模式
本帖最后由 bhchen 于 2020-3-12 00:56 编辑

请教大神:
opt环境设置如图
另外移动硬盘专门划分出了8G空间格式化为ext4,挂载到/opt下
能够正常执行 opkg list
但是无法安装软件,总是找不到lib包,如下如下,请大神赐教:
[RT-N56U_B1 /lib]# opkg update
Downloading http://bin.entware.net/mipselsf-k3.4/Packages.gz
wget: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
*** Failed to download the package list from http://bin.entware.net/mipselsf-k3.4/Packages.gz

Collected errors:
* opkg_download: Failed to download http://bin.entware.net/mipselsf-k3.4/Packages.gz, wget returned 127.
[RT-N56U_B1 /lib]# curl http://bin.entware.net/mipselsf-k3.4/Packages.gz
curl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
[RT-N56U_B1 /lib]# python2.7
python2.7: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
[RT-N56U_B1 /lib]#


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2020-3-12 01:02 | 显示全部楼层
我怀疑是/opt不完整,大神帮看下:
/dev/sda4                 7.5G    101.3M      7.0G   1% /opt

/opt/lib下的内容很少:
[RT-N56U_B1 /opt/lib]# ll
drwxr-xr-x    3 admin    root          1024 Mar 11 23:51 ./
drwxr-xr-x   12 admin    root          1024 Mar 12 00:20 ../
-rwxr-xr-x    1 admin    root        158972 Mar 11 23:49 ld-2.27.so*
lrwxrwxrwx    1 admin    root            10 Mar 11 23:50 ld.so.1 -> ld-2.27.so*
-rwxrwxrwx    1 admin    root       1648332 Mar 11 23:50 libc-2.27.so*
lrwxrwxrwx    1 admin    root            12 Mar 11 23:50 libc.so.6 -> libc-2.27.so*
-rw-r--r--    1 admin    root         94428 Jan 31 21:27 libgcc_s.so.1
-rwxrwxrwx    1 admin    root        118908 Mar 11 23:50 libpthread-2.27.so*
lrwxrwxrwx    1 admin    root            18 Mar 11 23:50 libpthread.so.0 -> libpthread-2.27.so*
drwxrwxrwx    3 admin    root          1024 Mar 12 00:07 opkg/

是不是这个原因?如何修复?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-3-12 01:16 | 显示全部楼层
再补充点信息,我发现只要是命令是 /opt/bin下的都有问题,但是我运行 /usr/bin下的就可以,例如:
[RT-N56U_B1 /usr/bin]# curl wwww.baidu.com
curl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory


/usr/sbin/curl www.baidu.com
<!DOCTYPE html>
<!--STATUS OK--><html> <head><meta http-equiv=content-type content=text/html;charset=utf-8><meta http-equiv=X-UA-Compatible content=IE=Edge><meta content=always name=referrer><link rel=stylesheet type=text/css href=http://s1.bdstatic.com/r/www/cache/bdorz/baidu.min.css><title>百度一下,你就知道</title></head> <body link=
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-3-12 22:41 | 显示全部楼层
解决办法就是老老实实的用U盘安装opt环境,结贴!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-25 10:22

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

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