-
Notifications
You must be signed in to change notification settings - Fork 4
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
Error: LibloadingError(DlOpen { desc: "libnvidia-ml.so: cannot open shared object file: No such file or directory" }) #1
Comments
Please check your nvidia drivers and verify that nvidia-smi and nvcc commands are working. Also export the LD_LIBRARY_PATH also. |
$ nvidia-smi After I export LD_LIBRARY_PATH with the location of libnvidia-ml.so and run nviwatch again. It reports following: $ nviwatch !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! You should always run with libnvidia-ml.so that is installed with your Error: DriverNotLoaded |
I think I was getting the same error few weeks ago on my wsl and I had added these two lines which seemed to fix the issue.
So for your case it would be 12.4. I'm speculating that the lib or lib64 whichever your system has isn't available in the ld path. Rough equivalent for the drivers path on ubuntu is:
|
$ nviwatch
Error: LibloadingError(DlOpen { desc: "libnvidia-ml.so: cannot open shared object file: No such file or directory" })
$ uname -a
Linux sn4622120254 5.15.0-101-generic #111-Ubuntu SMP Tue Mar 5 20:16:58 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/issue
Ubuntu 22.04.4 LTS \n \l
$ rustc --version
rustc 1.81.0 (eeb90cda1 2024-09-04)
$ cargo --version
cargo 1.81.0 (2dbb1af80 2024-08-20)
The text was updated successfully, but these errors were encountered: