I found the solution in the comments of this question : https://unix.stackexchange.com/questions/21475/when-executable-files-arent?rq=1

It was a 32 / 64 bit problem.

https://unix.stackexchange.com/questions/21475/when-executable-files-arent?rq=1 

fixed it.