Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jun 2022 10:24:37 +0300
From:      Dmitry Chagin <dchagin@freebsd.org>
To:        Sysadmin Lists <sysadmin.lists@mailfence.com>
Cc:        Freebsd Emulation <freebsd-emulation@freebsd.org>
Subject:   Re: libc6 Compatibility
Message-ID:  <Yqg3tUtdazdM1uvK@heemeyer.club>
In-Reply-To: <1236409007.1125724.1655169963971@ichabod.co-bxl>
References:  <1236409007.1125724.1655169963971@ichabod.co-bxl>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Yqg3tUtdazdM1uvK>