Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jun 2022 03:26:03 +0200 (CEST)
From:      Sysadmin Lists <sysadmin.lists@mailfence.com>
To:        Freebsd Emulation <freebsd-emulation@freebsd.org>
Subject:   libc6 Compatibility
Message-ID:  <1236409007.1125724.1655169963971@ichabod.co-bxl>

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



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