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

Willy Sudiarto Raharjo willysr at slackbuilds.org
Sat Mar 31 03:35:10 UTC 2018


> 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---------------------

Thanks
pushed to my branch


-- 
Willy Sudiarto Raharjo

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


More information about the SlackBuilds-users mailing list