<div dir="ltr">You may be right about that:<br>





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">icdev$: ldd bin/file</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>linux-vdso.so.1 =><span class="gmail-Apple-converted-space">  </span>(0x00007ffd287f6000)</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>libmagic.so.1 => /lib64/libmagic.so.1 (0x00007f7564470000)</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>libc.so.6 => /lib64/libc.so.6 (0x00007f75640a2000)</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>libz.so.1 => /lib64/libz.so.1 (0x00007f7563e8c000)</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>/lib64/ld-linux-x86-64.so.2 (0x00007f756468d000)<br><br>Is there a different way to tell it which installation directory to use? Does exec-prefix need to be set?<br><br>Something else interesting I noticed: I don't seem to have a 'magic.h' file in the file-5.40 folder that was extracted from the zip. Though I do have a '<a href="http://magic.h.in">magic.h.in</a>'  Probably that's fine and something related to Makefiles that I don't understand.</span></p></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 27, 2021 at 12:38 PM Christos Zoulas <<a href="mailto:christos@zoulas.com">christos@zoulas.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Perhaps it is picking up the old libmagic.so. What does 'ldd file/bin/file' say?<div><br></div><div>christos<br><div><br><blockquote type="cite"><div>On May 27, 2021, at 12:23 PM, Matthew Czarnek <<a href="mailto:matthew.czarnek@verizonmedia.com" target="_blank">matthew.czarnek@verizonmedia.com</a>> wrote:</div><br><div><p><u></u>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.<br><br>I'm now trying to compile file 5-40 from source and run it and it's throwing an error message:<br>





<u></u></p><p><u></u>./file/bin/file _samples/magic8<u></u></p><p><u></u>./file/bin/file: symbol lookup error: ./file/bin/file: undefined symbol: magic_version<u></u></p><br>Would you know how to solve this?<br><br>Thanks,<br>Matt<br><br>Steps I used to build this and install to separate location so I don't overwrite the already installed file command:<br>Download file 5-40<br><p><u></u>./configure --prefix=<path>/file/<br>make<br>make install<br><br>run using:<br>





<u></u></p><p><u></u>./file/bin/file _samples/magic8<u></u></p><p><u></u>
<u></u></p><p><u></u>./file/bin/file: symbol lookup error: ./file/bin/file: undefined symbol: magic_version<br><br>I've tried a couple others too, such as:<br>





<u></u></p><p><u></u>./file file<u></u></p><p><u></u>
<u></u></p><p><u></u>./file: symbol lookup error: ./file: undefined symbol: magic_version<u></u></p><div><br></div><u></u>
-- <br>File mailing list<br><a href="mailto:File@astron.com" target="_blank">File@astron.com</a><br><a href="https://mailman.astron.com/mailman/listinfo/file" target="_blank">https://mailman.astron.com/mailman/listinfo/file</a><br><span id="gmail-m_-7280495227959031752cid:1FEA81C3-B82F-4588-9B5B-A2C98B1B5E41"><sanitizer.log></span><u></u></div></blockquote></div><br></div></div></blockquote></div>