如何在Debian环境中加载android二进制文件?

如何在Debian环境中加载android二进制文件?

adbd我正在尝试从 chroot 环境中运行。我可以在 Android 上很好地运行它LD_LIBRARY_PATH=$PWD ./linker64 $PWD/adbd

当我尝试运行时,./adbd我得到:
bash: ./adbd: cannot execute: required file not found

运行并strace $PWD/adbd返回:

execve("/root/adbd", ["/root/adbd"], 0x7fcfe8dfd0 /* 8 vars */) = -1 ENOENT (No such file or directory)
strace: exec: No such file or directory
+++ exited with 1 +++

缺少什么动态链接器以及在哪个路径上?

答案1

我运行了一下readelf --all ./adbd | grep link,结果输出如下:
[Requesting program interpreter: /system/bin/linker64]

相关内容