libc6 Compatibility

From: Sysadmin Lists <sysadmin.lists_at_mailfence.com>
Date: Tue, 14 Jun 2022 01:26:03 UTC
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]

-- 
Sent with https://mailfence.com  
Secure and private email