4.25 and 4.26 won't run on FC9; give spurious "magic version" error
Kimmo Suominen
kimmo at global-wire.fi
Sun Aug 31 16:35:51 EEST 2008
What does the wrapper script do? Dynamic library configuration,
e.g. with LD_* environment variables?
What does ldd tell you about the binary?
I'm guessing the binary gets linked with an old libmagic.so
when run without the wrapper.
Best regards,
+ Kimmo
--
<A HREF="http://kimmo.suominen.com/">Kimmo Suominen</A>
On Sun, Aug 31, 2008 at 09:28:04AM -0400, Jay Levitt wrote:
> Now I'm on a Fedora Core 9 box, x86_64. I can build both 4.25 and 4.26
> successfully, but both give the same odd error when run:
>
> [root at micro]/usr/local/src/tools/file-4.26/src/.libs# ./file -v
> file-4.26
> magic file from /usr/local/share/file/magic
> [root at micro]/usr/local/src/tools/file-4.26/src/.libs# ./file ./file
> file: File 4.23 supports only 4 version magic files.
> `/usr/local/share/file/magic.mgc' is version 6
>
> Interestingly, the wrapper script DOES work...
>
> [root at micro]/usr/local/src/tools/file-4.26/src/.libs# cd ..
> [root at micro]/usr/local/src/tools/file-4.26/src# ./file -v
> lt-file-4.26
> magic file from /usr/local/share/file/magic
> [root at micro]/usr/local/src/tools/file-4.26/src# ./file file
> file: POSIX shell script text executable
>
>
> I'm lost...
>
> Jay Levitt
More information about the File
mailing list