The compiled magic.mgc file in libmagic1 version 4.24-2 causes
this bug - it doesn't match the uncompiled file.   Recompiling it
solves the bug.

On my PC, both file and libmagic1 are at version 4.24-2.

/usr/share/file# ls -l
total 2148
-rw-r--r-- 1 root root  512370 2008-05-03 13:38 magic
-rw-r--r-- 1 root root 1636608 2008-05-03 13:38 magic.mgc
-rw-r--r-- 1 root root   34833 2008-05-03 13:38 magic.mime

/usr/share/file# file ~/libRuby.so.5.18 
/root/libRuby.so.5.18: Linux/i386 core file of '/', dynamically linked, not 
stripped

/usr/share/file# rm magic.mgc 
/usr/share/file# file ~/libRuby.so.5.18 
/etc/magic, 4: Warning: using regular magic file `/usr/share/file/magic'
/root/libRuby.so.5.18: ELF 32-bit LSB shared object, Intel 80386, version 1 
(SYSV), dynamically linked, not stripped

/usr/share/file# file -C
/usr/share/file/magic, 12638: Warning: escaped tab found, use \t instead
/usr/share/file/magic, 12639: Warning: escaped tab found, use \t instead
/usr/share/file# file ~/libRuby.so.5.18 
/root/libRuby.so.5.18: ELF 32-bit LSB shared object, Intel 80386, version 1 
(SYSV), dynamically linked, not stripped

Steve



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to