error: only position independent executables (PIE) are supported when I try to run curl on android 5.1 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.
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.