OpenWrt 安装 mentohust 后提示 not found

2015-11-24 21:41:32 +08:00
 tyhunter
直接安装的二进制文件到 /usr/bin 和 /usr/sbin 下,加了权限后提示 not found
root@OpenWrt:~# chmod +x /usr/sbin/mentohust
root@OpenWrt:~# chmod +x /usr/bin/mentohust
root@OpenWrt:~# mentohust
-ash: mentohust: not found

试着执行 /usr/sbin/mentohust ,结果一样 not found

尝试安装 libpcap_1.1.1-2_ar71xx.ipk (依赖库)和 mentohust_0.3.1-1_ar71xx.ipk 后
依旧
root@OpenWrt:~# mentohust
-ash: mentohust: not found
805 次点击
所在节点    OpenWrt
32 条回复
GPU
2015-11-24 22:27:11 +08:00
Openwrt 简直大坑。

最近想把一个 GPIO 口 加载到 /dev 让 pppd 程序控制 , 看了半天代码还是弄不清 DTS 是怎么关联驱动的.
RickyBoy
2015-11-24 22:27:38 +08:00
@tyhunter mentohust 从哪里来的,怎么安装的
tyhunter
2015-11-24 22:30:07 +08:00
@RickyBoy https://code.google.com/p/mentohust-wrt/issues/detail?id=9 我搜 mentohust.mipsel.7z 和 mentohust.mips.7z 找到了四个版本的,一个个替换得到的
tyhunter
2015-11-24 22:30:41 +08:00
@RickyBoy 720n 那个固件会提示 can't resolve symbol atexit , google 找到那个帖子的
manhere
2015-11-24 22:31:52 +08:00
你要确认下这个二进制文件是适配这个 CPU 的。
Tink
2015-11-24 22:32:01 +08:00
@tyhunter 网上有类似的情况,找到两例,有一种说法是 openwrt 版本和 mentohust 版本不兼容
Tink
2015-11-24 22:32:51 +08:00
wr720n 应该就是 ar71xx 的,你找一个 ar71xx 的 mentohust 放进去试一下
Tink
2015-11-24 22:33:14 +08:00
@tyhunter wr720n 应该就是 ar71xx 的,你找一个 ar71xx 的 mentohust 放进去试一下
tyhunter
2015-11-24 22:34:01 +08:00
@Tink 试过了,照样 not found ,我现在再试 720n 的官方 openwrt 固件
tyhunter
2015-11-24 22:36:42 +08:00
@Tink 换了 720 的固件还是 not found ,锐捷有毒啊
tyhunter
2015-11-24 22:39:05 +08:00
@Tink 难道是因为 openwrt 版本过高了?
@manhere 这个确认是适配的,之前刷别人的固件时用过可以用
acess
2015-11-25 01:43:17 +08:00
是不是体系架构不对?
好像不同体系架构的 ld-linux.so 文件名不一样,如果找不到就会直接提示 not found 。
LZ 可以用 opkg 装个 strace 试试看错在哪里。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/238643

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX