I've pushed executable adb file to /system for using it to connect to other devices, but shell can't execute this file. Why?
chiron / # file `which adb`
/system/xbin/adb: ELF executable, 64-bit LSB arm64, dynamic (/lib/ld-linux-aarch64.so.1), BuildID=408e8d3f813fbb95b782db5d56f91bc41b451acb, stripped
chiron / # adb
bash: /system/xbin/adb: No such file or directory
chiron / # /system/bin/linker64 /system/xbin/adb
This is /system/bin/linker64, the helper program for dynamic executables.
– J. Doe Sep 19 '18 at 18:48mkdir /lib; ln -s /system/bin/linker64 /lib/ld-linux-aarch64.so.1
and then try running your executable. – iBug Sep 21 '18 at 01:19/system/bin/linker64
instead of using the default. – iBug Sep 21 '18 at 01:21