Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2019 22:33:42 -0600
From:      Gary Aitken <freebsd@dreamchaser.org>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   linux compat issue
Message-ID:  <b43185c5-5687-84e2-5c43-6264bf096b58@dreamchaser.org>

next in thread | raw e-mail | index | archive | help
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?
   What does the `GLIBC_2.17' not found and `GLIBC_2.14' not found mean, given libc.so.6 is present?
     Why references to 2 different versions?
   Is there a known good place to get up-to-date versions of all (most of?) the missing linux libs?

Running 11.2-RELEASE-p4 amd64

Thanks for any insights,

Gary



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b43185c5-5687-84e2-5c43-6264bf096b58>