WSL /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link
解决:https://github.com/microsoft/WSL/issues/5548。
/sbin/ldconfig.real: Can’t link /usr/lib/wsl/lib/libnvoptix_loader.so.1 to libnvoptix.so.1
/sbin/ldconfig.real: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link
解决:https://github.com/microsoft/WSL/issues/5548
There is another solution works for me :
-
Open cmd as Administrator and cd into C:\Windows\System32\lxss\lib
-
Delete libcuda.so and libcuda.so.1 (You can also do this in Windows Explorer as well)
-
Run wsl -e /bin/bash in cmd and you should already in /mnt/c/Windows/System32/lxss/lib, now you have permission to create symlink:
ln -s libcuda.so.1.1 libcuda.so.1
ln -s libcuda.so.1.1 libcuda.so
Done.

欢迎来到FlagOS开发社区,这里是一个汇聚了AI开发者、数据科学家、机器学习爱好者以及业界专家的活力平台。我们致力于成为业内领先的Triton技术交流与应用分享的殿堂,为推动人工智能技术的普及与深化应用贡献力量。
更多推荐
所有评论(0)