[Slackbuilds-users] nvidia-driver-390-42 symlink blunder

King Beowulf kingbeowulf at gmail.com
Sat Mar 31 02:59:23 UTC 2018


Admins

Just noticed - that it came up just now and not earlier? - that the
GLVND GL library is now libGL.so.1.7.0 and not libGL.so.1.0.0. This was
not noted in Nvidia's README.txt so I didn't notice until I tried to
compile wine-3.5.  Weird that a few steam games didn't care...

This patch to nvidia-switch should fix:

-----------------8<--------------------
diff --git a/system/nvidia-driver/nvidia-switch
b/system/nvidia-driver/nvidia-switch
index 6c7a77cce0..ed6f5c36e9 100644
--- a/system/nvidia-driver/nvidia-switch
+++ b/system/nvidia-driver/nvidia-switch
@@ -65,8 +65,8 @@ save_GL(){
       mv libGL.la-nvidia libGL.la

       if [ "$GLVND" = "yes" ]; then
-        ln -sf libGL.so.1.0.0 libGL.so.1
-       ln -sf libGL.so.1.0.0 libGL.so
+        ln -sf libGL.so.1.7.0 libGL.so.1
+       ln -sf libGL.so.1.7.0 libGL.so
         ln -sf libEGL.so.1-nvidia libEGL.so.1
        ln -sf libEGL.so.1-nvidia libEGL.so
       else
----------------->8---------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20180330/e25e31d1/attachment.asc>


More information about the SlackBuilds-users mailing list