You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the life of me I cannot figure out how to cross-compile this package to run on android arm64. I have a working python compilation but I can't get this package to work.
The furthest I got was compiling frida/_frida/_frida.abi3.so.p/extension.c.o by adding my cross-compiled python /include dir. It now fails trying to link frida/_frida/_frida.abi3.so because it can't find -lpthread, ect. Which sort of makes sense because android does not have those libs but it is included in their libc implementation.
What do I do to fix this? I want to run Python on my Android device via ADB and connect to the frida-server locally.
When I manually add my ndk lib as a -L link to LDFLAGS I just get more errors. -L$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android
#27 98.04 ld: error: unable to find library -lpthread
#27 98.04 ld: error: unable to find library -lcrypt
#27 98.04 ld: error: unable to find library -lutil
The furthest I get is #27 98.04 [268/268] Linking target frida/_frida/_frida.abi3.so
For the life of me I cannot figure out how to cross-compile this package to run on android arm64. I have a working python compilation but I can't get this package to work.
The furthest I got was compiling
frida/_frida/_frida.abi3.so.p/extension.c.o
by adding my cross-compiled python /include dir. It now fails trying to linkfrida/_frida/_frida.abi3.so
because it can't find -lpthread, ect. Which sort of makes sense because android does not have those libs but it is included in their libc implementation.What do I do to fix this? I want to run Python on my Android device via ADB and connect to the frida-server locally.
When I manually add my ndk lib as a -L link to LDFLAGS I just get more errors.
-L$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android
The furthest I get is
#27 98.04 [268/268] Linking target frida/_frida/_frida.abi3.so
The text was updated successfully, but these errors were encountered: