📌  相关文章
📜  libcublas.so.9.0:无法打开共享对象文件:没有这样的文件或目录 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:23.506000             🧑  作者: Mango

代码示例4
# See where the link is pointing.  
ls  /usr/lib/x86_64-linux-gnu/libcuda.so.1 -la
# My result:
# lrwxrwxrwx 1 root root 19 Feb 22 20:40 \
# /usr/lib/x86_64-linux-gnu/libcuda.so.1 -> ./libcuda.so.375.39

# Make sure it is pointing to the right version. 
# Compare it with the installed NVIDIA driver.
nvidia-smi

# Replace libcuda.so.1 with a link to the correct version
cd /usr/lib/x86_64-linux-gnu
sudo ln -f -s libcuda.so. libcuda.so.1