Date: Sat, 21 Sep 2019 16:39:44 +1000 From: MJ <mafsys1234@gmail.com> To: freebsd@dreamchaser.org, FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: linux compat issue Message-ID: <244730fd-32c0-4a17-ba55-747cf1a99cd9@gmail.com> In-Reply-To: <b43185c5-5687-84e2-5c43-6264bf096b58@dreamchaser.org> References: <b43185c5-5687-84e2-5c43-6264bf096b58@dreamchaser.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 21/09/2019 2:33 pm, Gary Aitken wrote: > Hi all, > > Trying to install/run a linux binary; ldd shows the following: > > $ldd bin/prusa-slicer > bin/prusa-slicer: > bin/prusa-slicer: /lib64/libz.so.1: version `ZLIB_1.2.3.4' not found (required by bin/prusa-slicer) > bin/prusa-slicer: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by bin/prusa-slicer) > bin/prusa-slicer: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by bin/prusa-slicer) > bin/prusa-slicer: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by bin/prusa-slicer) > bin/prusa-slicer: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.17' not found (required by bin/prusa-slicer) > bin/prusa-slicer: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by bin/prusa-slicer) > bin/prusa-slicer: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by bin/prusa-slicer) > bin/prusa-slicer: /lib64/libstdc++.so.6: version `CXXABI_1.3.5' not found (required by bin/prusa-slicer) > bin/prusa-slicer: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by bin/prusa-slicer) > bin/prusa-slicer: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by bin/prusa-slicer) > bin/prusa-slicer: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by bin/prusa-slicer) > linux_vdso.so.1 => (0x00007ffffffff000) > ... > libstdc++.so.6 => /lib64/libstdc++.so.6 (0x0000000802400000) > ... > libgtk-x11-2.0.so.0 => not found > libgdk-x11-2.0.so.0 => not found > libpangocairo-1.0.so.0 => not found > libatk-1.0.so.0 => not found > libcairo.so.2 => not found > libgdk_pixbuf-2.0.so.0 => not found > ... > libpangoft2-1.0.so.0 => not found > libpango-1.0.so.0 => not found > ... > libz.so.1 => /lib64/libz.so.1 (0x0000000805400000) > ... > libc.so.6 => /lib64/libc.so.6 (0x0000000806800000) > ... > > If I look at /compat/linux/usr/lib64, I see: > lrwxr-xr-x 1 root wheel 13 Feb 21 2013 libz.so.1 -> libz.so.1.2.3 > -rwxr-xr-x 1 root wheel 88600 Feb 21 2013 libz.so.1.2.3 > -rwxr-xr-x 1 root wheel 1924768 Jun 19 2018 libc-2.12.so > lrwxr-xr-x 1 root wheel 12 Jun 19 2018 libc.so.6 -> libc-2.12.so > lrwxr-xr-x 1 root wheel 19 Jun 19 2018 libstdc++.so.6 -> libstdc++.so.6.0.13 > -rwxr-xr-x 1 root wheel 987096 Jun 19 2018 libstdc++.so.6.0.13 > > Questions: > What's with the 2013 dates on libz? That's how old it is? > What does the `GLIBC_2.17' not found and `GLIBC_2.14' not found mean, given libc.so.6 is present? libc.so.6 is just (as you see) a link to your available glibc which 2.12 I don't see any 2.14 or 2.17 there. Are we to assume they're also 64 bit libraries? Likewise zlib is 1.2.3 rather than 1.2.3.4 > Why references to 2 different versions? Dependency hell. One library uses 2.14, another uses 2.17. > Is there a known good place to get up-to-date versions of all (most of?) the missing linux libs? I have no idea, I don't use linux. Off the top of my google hat: https://www.gnu.org/software/libc/ But, of course, this is only one issue you have. Perhaps you're best to install a virtual machine and run this program under gnu/linux? Cheers Mark
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?244730fd-32c0-4a17-ba55-747cf1a99cd9>