linux compat issue

MJ mafsys1234 at gmail.com
Sat Sep 21 06:40:06 UTC 2019


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




More information about the freebsd-questions mailing list