-
Notifications
You must be signed in to change notification settings - Fork 2k
nvidia-docker v2: error while loading shared libraries: libEGL.so.1: cannot open shared object file #776
Comments
In nvidia-docker v2, libEGL comes from libglvnd. Do |
You need to use an OpenGL image: Or a CUDA + OpenGL image: |
Thank you for reply. |
No, you have to change the base image. Or, if your base image is Ubuntu 18.04, You can also look at how we build our |
@flx42 above links are dead :(( |
I didn't have the option of changing the base image but was able to resolve this error by mounting the |
There is an error when I run my image after updating the version of nvidia-docker to version 2.
error while loading shared libraries: libEGL.so.1: cannot open shared object file
I found that there are many shared libraries in path /usr/local/nvidia/lib64 of container when I use nvidia-docker v1.
But there is nothing of container when I use nvidia-docker v2 to run the same image.
I had tried the NVIDIA_DRIVER_CAPABILITIES environment variable.
But this is no help.
The text was updated successfully, but these errors were encountered: