Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ldconfig: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link #248

Closed
izeroo opened this issue Oct 2, 2021 · 2 comments
Closed

ldconfig: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link #248

izeroo opened this issue Oct 2, 2021 · 2 comments

Comments

@izeroo
Copy link

izeroo commented Oct 2, 2021

Describe the issue
A clear and concise description of what the bug is.

ldconfig: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link

To Reproduce
Steps to reproduce the behavior:

Just simply pacman -Syu, and you'll see that sometimes.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Enviroment:

  • Windows build number: [10.0.22000.194] (Type ver at a Command Prompt)
  • Security Software: [none]
  • WSL version 1/2: [WSL2]
  • ArchWSL version [21.8.28.0]
  • ArchWSL Installer type zip/appx/other clean/update [zip]
  • Launcher version [wsldl2, version 21082800] (Type Arch.exe version at a Command Prompt)

Additional context
Add any other context about the problem here.

@PhyX-Meow
Copy link

PhyX-Meow commented Oct 5, 2021

Actually this is not relate to Arch, nor ArchWSL. It's caused by libcuda.so in your C:\Windows\System32\lxss\lib\ folder not a symbolic link, which is installed by nvidia driver. One solution to fuck the warning is delete libcuda.so and libcuda.so.1 and use
make symbolic link to libcuda.so.1.1. Command line: mklink <target file> <source file>. Note the command not work in powershell, you shall use cmd.exe.
:)

@izeroo
Copy link
Author

izeroo commented Oct 5, 2021

Thanks. Solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants