5

I'm trying to run curl on android 5.1,but this error doesn't help :

root@manta:/root/home/curl/data/local/bin # ./curl
error: only position independent executables (PIE) are supported.

I've got the curl executable from here :

http://curl.haxx.se/

how can I fix this error ? thanks.

1

Curl is an open source project, so the straightforward answer is that you compile it yourself and enable position independent code (pic) for the compilation. This is very inconvenient, I admit, but I strongly discourage using solutions that disable security features. There are good reasons to only allow PIEs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.