[Bf-committers] Bf-committers Digest, file and ls -l

Ken Hughes khughes at pacific.edu
Tue Apr 1 00:20:09 CEST 2008


Roger wrote:
>  > Starting from terminal l I get ' bash: ./blender: cannot execute binary file'
>  > > Googling shows an number of such complaints but no resolution.
>  > >
> Just curious: what does "file ./blender" or "ls -l ./blender" tell you?
>
> [user at localhost blender246]$ file ./blender
> ./blender: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically 
> linked (uses shared libs), for GNU/Linux 2.6.0, stripped
> ------------===========---------
> [user at localhost blender246]$ ls -l ./blender
> -rwxr-xr-x 1 roger250 roger250 17543240 2008-02-29 05:11 ./blender
> -----------==============-------
>
>   
Tells me what Stephen said.  "ls" tells me the file does have execute 
permissions.  "file" tells me it really is an executable.  And I think 
it tells me the problem;  I assume you're running it on a 32-bit linux 
machine?  The executable is for a 64-bit machine.  When I try running a 
64-bit binary under 32-bit ubuntu, it says "Exec format error. Binary 
file not executable."

Ken


More information about the Bf-committers mailing list