Public bug reported:

Steps to reproduce:

* x86_64 system with Nvidia GPU
* Install libnvidia-compute-580 (probably other branches of the nvidia driver 
have the same issue)
* Inspect libraries installed into ${libdir}

Expected result:

* In the usual .deb way, each library's dependencies are satisfied

Actual result:

* /usr/lib/x86_64-linux-gnu/libnvidia-pkcs11.so.580.126.09 isn't loadable 
because it depends on OpenSSL 1.1, which is (thankfully!) no longer part of 
Ubuntu
* As a workaround for this, debian/rules explicitly excludes that library from 
dh_shlibdeps

Proposed fix:

* In Debian, instead of ignoring the dependencies of libnvidia-pkcs11.so, the 
nvidia driver packaging doesn't install that library (see 
https://sources.debian.org/src/nvidia-graphics-drivers/550.163.01-2/debian/not-installed.in)
* This seems reasonable because a library that can't be loaded is not useful, 
so there's no point shipping it to users at all

Impact:

This caused a spurious warning in Steam's container runtime framework,
worked around in https://gitlab.steamos.cloud/steamrt/steam-runtime-
tools/-/merge_requests/742 (but that workaround wasn't done correctly,
causing a regression that I'm now fixing)

** Affects: nvidia-graphics-drivers-580 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2144039

Title:
  Installing libnvidia-compute-580 provides libnvidia-pkcs11.so.* but
  not its dependencies

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-580/+bug/2144039/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to