From owner-freebsd-questions@freebsd.org Sat Sep 21 04:34:37 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EFBE2F5ECC for ; Sat, 21 Sep 2019 04:34:37 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46ZyRJ4XVTz44x0 for ; Sat, 21 Sep 2019 04:34:35 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id x8L4YQ1n072892 for ; Fri, 20 Sep 2019 22:34:27 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org From: Gary Aitken Subject: linux compat issue To: FreeBSD Mailing List Message-ID: Date: Fri, 20 Sep 2019 22:33:42 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Fri, 20 Sep 2019 22:34:27 -0600 (MDT) X-Rspamd-Queue-Id: 46ZyRJ4XVTz44x0 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-5.59 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[dreamchaser.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; IP_SCORE(-3.29)[ip: (-8.63), ipnet: 66.109.128.0/19(-4.32), asn: 21947(-3.45), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Sep 2019 04:34:38 -0000 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