Precise: executables now shared libraries
October 27, 2012 —
BarryK
Forum member FeodorF posted to me about this. An example is /usr/bin/Xorg, which 'file' reports:
# file /usr/bin/Xorg
/usr/bin/Xorg: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x85311bab3ebf5578bfe33ac5b43e6910010c83b8, stripped
Whereas a normal binary executable looks like this:
# file /usr/bin/xmodmap
/usr/bin/xmodmap: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, BuildID[sha1]=0x65ff654e3e14b27ca4ec06b3e4969d7b333c1b29, stripped
Precise is built with a 'file' PET, not with the Ubuntu 'file' (and 'libmagic1) DEBs. I installed the DEBs, same problem.
It seems that some projects are now creating binary executables with a different format that 'file' does not properly recognise.
The Ubuntu DEB is version 5.11, which is the latest.
Tags: puppy