Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将最新的busybox安装到我的新嵌入式项目中。在我尝试将 dropbear 放入我的应用程序之前,它运行正常。busybox shell 抱怨说没有找到 dropbear,尽管“which dropbear”命令给了我正确的答案“/sbin/dropbear”。如果我将其模式更改为 RW,它会抱怨 dropbear 不可执行。我尝试过其他非 bosybox 命令,但它的抱怨是一样的。应该是设置问题。谁能帮我吗?非常感谢。
艾伦
也许您缺少必要的库?发生这种情况时,某些环境不会打印有用的消息。检查它要链接的库。
ldd或objdump -x <file> |grep NEEDED有帮助。
ldd
objdump -x <file> |grep NEEDED
您可能想从您的构建机器上执行此操作,因为听起来嵌入式 shell 环境非常糟糕。