Comments (6)
@seudonam you might want to take this issue with Team Green
because those libraries are part of the Nvidia driver and not WSL.
The soname
is the same and ldconfig
complains:
root@texas:~# objdump -p /usr/lib/wsl/lib/libcuda.so | grep -i soname
SONAME libcuda.so.1
root@texas:~# objdump -p /usr/lib/wsl/lib/libcuda.so.1 | grep -i soname
SONAME libcuda.so.1
root@texas:~# objdump -p /usr/lib/wsl/lib/libcuda.so.1.1 | grep -i soname
SONAME libcuda.so.1
root@texas:~# sha256sum /usr/lib/wsl/lib/libcuda.so
1ca50006c1fb01732c85a895ef9720833a35f485280233f329cf602adb1733ef /usr/lib/wsl/lib/libcuda.so
root@texas:~# sha256sum /usr/lib/wsl/lib/libcuda.so.1
1ca50006c1fb01732c85a895ef9720833a35f485280233f329cf602adb1733ef /usr/lib/wsl/lib/libcuda.so.1
root@texas:~# sha256sum /usr/lib/wsl/lib/libcuda.so.1.1
1ca50006c1fb01732c85a895ef9720833a35f485280233f329cf602adb1733ef /usr/lib/wsl/lib/libcuda.so.1.1
not a symbolic link
is a harmless warning. And with Nvidia's developers immersed in AI and the stock going up-and-up I doubt they'll care about this issue!
from wsl.
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Open similar issues:
- libcuda.so.1 is not a symbolic link (#5548), similarity score: 0.74
Closed similar issues:
- /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link (#5663), similarity score: 0.93
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
from wsl.
ummm, my question is i am installing a flash wsl system, why this stupid warning coming up?
from wsl.
This problem still bugs me. I did a hard research from pytorch/pytorch#73487 to here.
Is this a WSL2 problem or Nvidia problem?
from wsl.
解决/sbin/ldconfig.real: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link的问题
意思是说 /usr/lib/wsl/lib/libcuda.so.1 不是一个符号链接
它们的关系应该是:
libcuda.so -> libcuda.so.1 -> libcuda.so.1.1
那么,到/usr/lib/wsl/lib 目录
用命令
sudo mkdir backup #用超级用户,建立backup目录
sudo mv libcuda.so ./backup
sudo mv libcuda.so.1 ./backup
sudo ln -s libcuda.so.1.1 libcuda.so.1 # 建立超链接 libcuda.so.1 -> libcuda.so.1.1
sudo ln -s libcuda.so.1 libcuda.so # 建立超链接 libcuda.so -> libcuda.so.1
from wsl.
I agree with @dqsh06. The issue is mentioned at https://forums.developer.nvidia.com/t/wsl2-libcuda-so-and-libcuda-so-1-should-be-symlink/236301, and a fix, too.
cd /usr/lib/wsl/lib
sudo rm libcuda.so libcuda.so.1
sudo ln -s libcuda.so.1.1 libcuda.so.1
sudo ln -s libcuda.so.1 libcuda.so
sudo /sbin/ldconfig
from wsl.
Related Issues (20)
- Logging and Preventing wsl -u root --exec commands from PowerShell and CMD HOT 3
- WSL2 update to V2.2.4.0 on Win11: WSL loses network adapter "vEthernet (WSL)" HOT 4
- `$XDG_RUNTIME_DIR`, `$WAYLAND_DISPLAY` and other variables not getting exported with `systemd 256 (256-1ubuntu1)` HOT 1
- Is it possible to access WSL outside through ipv6? HOT 3
- 2.3.12 reboots Windows and does not work after that HOT 13
- Error code: Wsl/CallMsi/Install/ERROR_INSTALL_FAILURE HOT 4
- DNS resolution for Internal Sites doesn't work when using Proton VPN. HOT 8
- Odd message in debug console, and WARN: COPY_MODE on window titles HOT 3
- Ubuntu已安装。 正在启动Ubuntu... Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0xc03a0014 Error: 0xc03a0014 ??????????????????? HOT 6
- Cannot mount network folder within WSL2 HOT 2
- Wayland Socket in /run/user/1000/ is sometimes missing after a reboot HOT 3
- Building new WSL2 Linux Kernel 6.6 disables /dev/dri (and VA-API) HOT 8
- VA-API does not work in Ubuntu 24.04 HOT 7
- Error code: Wsl/Service/CreateInstance/CreateVm/WSAENOTCONN HOT 11
- wsl --update --pre-release asks for admin permissions but it's hidden HOT 1
- WslRegisterDistribution failed with error: 0x80072749 HOT 7
- WSL Update Connection Failed When Connected to Cloudflare Warp HOT 2
- WSL2 with /dev/dri passthrough to Docker container not working HOT 5
- WSL terminating kali before it can install a package or a tweak HOT 12
- Missing Driver: LEGO USB Tower HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wsl.