This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cannot execute binary file


On 11/2/2011 9:10 AM, Edvardsen KÃre wrote:

>> Are there any debug options or logs to check when you get "cannot
>> execute binary file"?
>>
>> Cheers,
>> KÃre
>
> - if is it a permission problem you need to check the ACL permissions
>  see getfacl or ACL permission from windows explorer
>
> - if you are missing dll's, you can check with:
>   cygcheck ./nome_of_your_file
>   ldd ./nome_of_your_file
> 
> Regards
> Marco

cygcheck ./actual_exec_file

returns a list of dll's - no error message or anything, just a list of
dll's

ldd ./actual_exec_file

returns "ldd: ./actual_exec_file.exe: Excec format error"

Never seen that one before...

Cheers,
KÃre

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]