nvidia: fix proton errors.
Proton sometimes errors out with: The NVIDIA driver was unable to open 'libnvidia-glvkspirv.so.470.57.02'. This library is required at run time. This is caused by an out of date glibc cache, so we now run ldconfig in INSTALL. This solution was pointed out by mvf. Unfortunately, this isn't the entirely correct solution: ldconfig should always be run after package installations that touch /usr/lib, to avoid similar issues. Until there's a simple solution for it (maybe general purpose XBPS hooks), this is the best we can do. Fixes: #32222
This commit is contained in:
parent
8e89e30146
commit
e815e69d7a
|
@ -0,0 +1,3 @@
|
|||
case "${ACTION}" in
|
||||
post) ldconfig -X || : ;;
|
||||
esac
|
|
@ -4,7 +4,7 @@ _desc="NVIDIA drivers for linux"
|
|||
|
||||
pkgname=nvidia
|
||||
version=470.57.02
|
||||
revision=1
|
||||
revision=2
|
||||
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
||||
license="custom:NVIDIA Proprietary"
|
||||
homepage="https://www.nvidia.com"
|
||||
|
|
Loading…
Reference in New Issue