What are possible causes of “failed to map segment from shared object: operation not permitted”, and how to debug?
问题 I have two executables, both cross compiled to run in Android. I have put both on the device in the same directory. I have put all the shared libraries that they are dependent on in the same directory, including ld-linux.so.3. I run the executables by using: ld-linux.so.3 --library-path /path/to/libraries executable_name both work on older versions of Android when running as any user. The both work on the latest version of Android if running as root. Only one works on the latest version of