resolve ldconfig issue

This commit is contained in:
Mylloon 2023-03-13 00:09:56 +01:00
parent 05ccce76bb
commit 410f49343f
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -30,6 +30,25 @@ Commande pour lancer mon installation :
[anri@PC ~]# curl https://git.mylloon.fr/Anri/confOS/raw/branch/main/arch_wsl.sh -s | bash
```
[Fix bug `ldconfig`](https://github.com/microsoft/WSL/issues/5548#issuecomment-1366418464) :
```bash
# in cmd as admin
cd C:\Windows\System32\lxss\lib
del libcuda.so
del libcuda.so.1
wsl -e /bin/bash
# in WSL
ln -s libcuda.so.1.1 libcuda.so.1
ln -s libcuda.so.1.1 libcuda.so
exit
# back in CMD
wsl --shutdown
wsl -e /bin/bash
# in restarted WSL
sudo ldconfig
```
## Arch
<details><summary>Procédure dans l'image ISO</summary>