[Slackbuilds-users] BIG: nvidia-driver-275/39

King Beowulf kingbeowulf at gmail.com
Thu Mar 2 02:16:40 UTC 2017


Seems I goofed some symlinks.  If you use nvidia-smi and get:

"NVIDIA-SMI couldn't find libnvidia-ml.so library in your system. Please
make sure that the NVIDIA Display Driver is properly installed and
present in your system.
Please also try adding directory that contains libnvidia-ml.so to your
system PATH."

Do this:

cd /usr/lib[64]
ln -s libnvidia-ml.so.375.39 libnvidia-ml.so.1

I'll fix this in the next iteration.

-Ed

=======================
diff --git a/system/nvidia-driver/nvidia-driver.SlackBuild
b/system/nvidia-driver/nvidia-driver.SlackBuild
index a5d9257..809f72c 100755
--- a/system/nvidia-driver/nvidia-driver.SlackBuild
+++ b/system/nvidia-driver/nvidia-driver.SlackBuild
@@ -165,6 +165,7 @@ cd $PKG/usr/lib$LIBDIRSUFFIX
   ln -sf libGLESv1_CM_nvidia.so.$VERSION libGLESv1_CM_nvidia.so.1
   ln -sf libGLESv2_nvidia.so.$VERSION libGLESv2_nvidia.so.2
   ln -sf libnvidia-tls.so.$VERSION libnvidia-tls.so
+  ln -sf libnvidia-ml.so.$VERSION libnvidia-ml.so.1
   ln -sf vdpau/libvdpau_nvidia.so.$VERSION libvdpau_nvidia.so
 cd -
 cd $PKG/usr/lib$LIBDIRSUFFIX/tls
@@ -225,6 +226,7 @@ if [ "$ARCH" = "x86_64" -a "${COMPAT32}" = "yes" ]; then
     ln -sf libGLESv1_CM_nvidia.so.$VERSION libGLESv1_CM_nvidia.so.1
     ln -sf libGLESv2_nvidia.so.$VERSION libGLESv2_nvidia.so.2
     ln -sf libnvidia-tls.so.$VERSION libnvidia-tls.so
+    ln -sf libnvidia-ml.so.$VERSION libnvidia-ml.so.1
     ln -sf vdpau/libvdpau_nvidia.so.$VERSION libvdpau_nvidia.so
   cd -
   cd $PKG/usr/lib/tls
============================


-------------- 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/20170301/8b21481d/attachment.asc>


More information about the SlackBuilds-users mailing list