Re: libc6 Compatibility
- Reply: Sysadmin Lists : "Re: libc6 Compatibility"
- In reply to: Sysadmin Lists : "libc6 Compatibility"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Jun 2022 07:24:37 UTC
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