From nobody Tue Jun 14 07:24:37 2022 X-Original-To: freebsd-emulation@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6829383189C for ; Tue, 14 Jun 2022 07:24:46 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Received: from heemeyer.club (heemeyer.club [195.93.173.158]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4LMg1T2zMWz51VD for ; Tue, 14 Jun 2022 07:24:45 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Received: from heemeyer.club (localhost [127.0.0.1]) by heemeyer.club (8.17.1/8.16.1) with ESMTP id 25E7ObF7003562; Tue, 14 Jun 2022 10:24:37 +0300 (MSK) (envelope-from dchagin@heemeyer.club) Received: (from dchagin@localhost) by heemeyer.club (8.17.1/8.16.1/Submit) id 25E7ObUI003561; Tue, 14 Jun 2022 10:24:37 +0300 (MSK) (envelope-from dchagin) Date: Tue, 14 Jun 2022 10:24:37 +0300 From: Dmitry Chagin To: Sysadmin Lists Cc: Freebsd Emulation Subject: Re: libc6 Compatibility Message-ID: References: <1236409007.1125724.1655169963971@ichabod.co-bxl> List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1236409007.1125724.1655169963971@ichabod.co-bxl> X-Rspamd-Queue-Id: 4LMg1T2zMWz51VD X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dchagin@heemeyer.club has no SPF policy when checking 195.93.173.158) smtp.mailfrom=dchagin@heemeyer.club X-Spamd-Result: default: False [0.61 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[dchagin]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-0.53)[-0.531]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_SHORT(0.95)[0.946]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-emulation]; FORGED_SENDER(0.30)[dchagin@freebsd.org,dchagin@heemeyer.club]; R_SPF_NA(0.00)[no SPF record]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:61400, ipnet:195.93.173.0/24, country:RU]; FROM_NEQ_ENVFROM(0.00)[dchagin@freebsd.org,dchagin@heemeyer.club] X-ThisMailContainsUnwantedMimeParts: N On Tue, Jun 14, 2022 at 03:26:03AM +0200, Sysadmin Lists wrote: > Does Linux compat not work with Ubuntu's newest libc6 update? > I used to run Brave browser from it, but now I get this error message: > > $ /compat/ubuntu/opt/brave.com/brave/brave > ELF interpreter /lib64/ld-linux-x86-64.so.2 not found, error 2 > Abort trap > > The shared object is loaded in memory: > $ ldd /opt/brave.com/brave/brave | grep ld- > /lib64/ld-linux-x86-64.so.2 (0x0000000001021000) > > And it exists on the filesystem: > $ find /compat/ubuntu/lib**/ -name ld-\* -exec ls -lh '{}' + > -rwxr-xr-x 1 root wheel 187K Dec 16 2020 /compat/ubuntu/lib/x86_64-linux-gnu/ld-2.31.so > lrwxr-xr-x 1 root wheel 10B Dec 16 2020 /compat/ubuntu/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 -> ld-2.31.so > lrwxr-xr-x 1 root root 34B Mar 23 2021 /compat/ubuntu/lib64/ld-linux-x86-64.so.2 -> ../lib/x86_64-linux-gnu/ld-2.31.so > > This is the update that broke it: > $ apt-get install libc6 > Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc6 amd64 2.31-0ubuntu9.9 [2722 kB] > try ktrace it, aka ktrace -di /compat/ubuntu/opt/brave.com/brave/brave then kdump -HAR -m 128 > brave.log