I have an executable:
ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked
that runs fine on my machine:
Linux debian 4.19.0-21-amd64 #1 SMP Debian 4.19.249-2 (2022-06-30) x86_64
but fails with
No such file or directory
when run on:
Linux localhost 5.4.61-android11-2-00094-gd61ede24cbb2-ab706444
Question: Do I need to copy over all of the libs that I see when I do:
ldd test.exe
over to the Android device (emulated) to overcome this error? (I'm thinking yes, since it is dynamically linked.). Thanks for any tips here.
Side note: Sort of between a rock and a hard place here since I have read that the LGPL license mandates that if you statically link glibc in your executable you then have to provide all of your source code if you plan to 'publish' your app. Thus, opting for dynamic linking.