[File] Error running file 5-40

Christos Zoulas christos at zoulas.com
Thu May 27 16:38:18 UTC 2021


Perhaps it is picking up the old libmagic.so. What does 'ldd file/bin/file' say?

christos

> On May 27, 2021, at 12:23 PM, Matthew Czarnek <matthew.czarnek at verizonmedia.com> wrote:
> 
> Thank you again to Christos and Guy for helping me determine that my version of "file" is very out of date and the newest version would probably fix my problem.
> 
> I'm now trying to compile file 5-40 from source and run it and it's throwing an error message:
> 
> ./file/bin/file _samples/magic8
> 
> ./file/bin/file: symbol lookup error: ./file/bin/file: undefined symbol: magic_version
> 
> 
> Would you know how to solve this?
> 
> Thanks,
> Matt
> 
> Steps I used to build this and install to separate location so I don't overwrite the already installed file command:
> Download file 5-40
> ./configure --prefix=<path>/file/
> make
> make install
> 
> run using:
> 
> ./file/bin/file _samples/magic8
> 
> ./file/bin/file: symbol lookup error: ./file/bin/file: undefined symbol: magic_version
> 
> I've tried a couple others too, such as:
> 
> ./file file
> 
> ./file: symbol lookup error: ./file: undefined symbol: magic_version
> 
> 
> --
> File mailing list
> File at astron.com
> https://mailman.astron.com/mailman/listinfo/file
> <sanitizer.log>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.astron.com/pipermail/file/attachments/20210527/fa5bdbaa/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://mailman.astron.com/pipermail/file/attachments/20210527/fa5bdbaa/attachment.asc>


More information about the File mailing list