Comment 20 for bug 1945100

Revision history for this message
In , Motoskov (motoskov) wrote :

(In reply to Jed Davis [:jld] ⟨⏰|UTC-6⟩ ⟦he/him⟧ from comment #9)
> (In reply to Andrey from comment #5)
> > Aug 16 10:43:07 dragonfly firefox-wayland.desktop[7487]: Sandbox: attempt to open unexpected file /usr/lib64/firefox/libdl.so.2
> > Aug 16 10:43:07 dragonfly firefox-wayland.desktop[7487]: Sandbox: attempt to open unexpected file /lib64/libdl.so.2
> > Aug 16 10:43:07 dragonfly firefox-wayland.desktop[7487]: Sandbox: attempt to open unexpected file /lib64/glibc-hwcaps/x86-64-v3/libdl.so.2
>
> This looks like the dynamic loader trying to resolve `libdl.so.2`; a copy of `libwidevinecdm.so` I have locally (version `4.10.2209.1` if it matters) depends on it. But, the `libxul.so` from my Firefox build also depends on it, and so does the one in Fedora's package, so it should already be loaded. There's something odd going on here.

On Fedora 35 `libxul.so` has **no** `libdl.so.2` dependency. And no any other binary obj in /usr/lib64/firefox :
```
$ ldd /home/()/.mozilla/firefox/()/gmp-widevinecdm/4.10.2209.1/libwidevinecdm.so |grep libdl
 libdl.so.2 => /lib64/libdl.so.2 (0x00007f7c749a0000)
$ ldd /usr/lib64/firefox/libxul.so |grep libdl
$
$ ldd /usr/lib64/firefox/firefox-bin |grep libdl
$
$ find /usr/lib64/firefox/ -name *.so -exec ldd {} \; | grep libdl
$
```