Code Monkey home page Code Monkey logo

Comments (6)

elsaco avatar elsaco commented on September 25, 2024 1

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

github-actions avatar github-actions commented on September 25, 2024

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:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

from wsl.

liesauer avatar liesauer commented on September 25, 2024

ummm, my question is i am installing a flash wsl system, why this stupid warning coming up?

from wsl.

Max-Sum avatar Max-Sum commented on September 25, 2024

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.

dqsh06 avatar dqsh06 commented on September 25, 2024

解决/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.

dcasota avatar dcasota commented on September 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.