I'm trying to get proxydroid or redsocks to run on genymotion android emulator (x86). Adb shell into the device, run redsocks and I get "not executable: magic 7F45". I know it means that the version doesnt comply with the cpu. however, on Genymotion I'm able to run a bunch of Arm packages, with no problem (having installed the genymotion arm translation files).
I have compiled redsocks sources on my ubuntu box (binary works fine on my ubuntu x86), but when I copied the binary to the emulator- it still gives the same error message when I try to run it (not executable: magic 7F45). So it looks like neither the arm nor the x86 versions are working on the emulator
My question: is there a way to get redsocks run on genymotion?
UPDATE: I have taken the redsocks binary that I compiled on my ubuntu x86 box, and pushed it to x86 avd (standard sdk) - it worked perfect. So it appears that the "not executable: magic 7F45" error is not related to cross-cpu compilation. Anyone know other reason to getting this error message?