[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 32bit binaries run on pure64!?



On Friday 18 March 2005 21:15, Hannes Mayer wrote:
> It should probably say "is a static executable". That would be more clear.
>

Not necesserally, it could be anything else too. it could be a script, a 
picture, a device, etc ..., or a static excecutable.

ldd had only one error for all files it does not understand, which is this 
one. 
it is not ldd's role to figure out _what_ the file is. you could have used 
'file' for that.

see here the difference :

$> ldd /bin/mbchk
        not a dynamic executable

$> file /bin/mbchk
/bin/mbchk: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for 
GNU/Linux 2.2.0, statically linked, stripped

and for a picture (which happen to have the x bit set):

$> ldd pictures/dsc00045.jpg
         not a dynamic executable

$> file pictures/dsc00045.jpg
pictures/dsc00045.jpg: JPEG image data, EXIF standard

Cheers,

Ernest.



Reply to: