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

load library failed: libnvidia-ml.so.1: opensuse tumbleweed #930

Open
DandrewsDev opened this issue Feb 16, 2025 · 2 comments
Open

load library failed: libnvidia-ml.so.1: opensuse tumbleweed #930

DandrewsDev opened this issue Feb 16, 2025 · 2 comments

Comments

@DandrewsDev
Copy link

DandrewsDev commented Feb 16, 2025

Error on fresh opensuse tumbleweed install

Error message when running a test docker container.
dan@localhost:~> docker run --gpus all hello-world docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running prestart hook #0: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy' nvidia-container-cli: initialization error: load library failed: libnvidia-ml.so.1: cannot open shared object file: no such file or directory: unknown.

Followed the install steps from: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html

dan@localhost:~> sudo zypper --gpg-auto-import-keys install -y nvidia-container-toolkit
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...
'nvidia-container-toolkit' is already installed.
No update candidate for 'nvidia-container-toolkit-1.17.4-1.x86_64'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.
dan@localhost:~> sudo nvidia-ctk runtime configure --runtime=docker
INFO[0000] Loading config from /etc/docker/daemon.json
INFO[0000] Wrote updated config to /etc/docker/daemon.json
INFO[0000] It is recommended that docker daemon be restarted.
dan@localhost:~> sudo systemctl restart docker

OS: Tumbleweed 20250211
Docker Version: 27.4.1-ce, build c710b88579fc

@rajuga153
Copy link

I am also facing same issues with opensuse 15.6. could you please help me to resolve the same?

@DandrewsDev
Copy link
Author

I currently dont have a workaround or resolution to this issue.

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