Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
nvidia egl error from ldconfig
In case you are having ldconfig error in Ubuntu 14.04.5 LTS related to Nvidia EGL use follow fixes
Error
---
/sbin/ldconfig.real: /usr/lib/nvidia-384/libEGL.so.1 is not a symbolic link
/sbin/ldconfig.real: /usr/lib32/nvidia-384/libEGL.so.1 is not a symbolic link
Fix
---
sudo mv /usr/lib/nvidia-384/libEGL.so.1 /usr/lib/nvidia-384/libEGL.so.1.org
sudo mv /usr/lib32/nvidia-384/libEGL.so.1 /usr/lib32/nvidia-384/libEGL.so.1.org
sudo ln -s /usr/lib/nvidia-384/libEGL.so.384.90 /usr/lib/nvidia-384/libEGL.so.1
sudo ln -s /usr/lib32/nvidia-384/libEGL.so.384.90 /usr/lib32/nvidia-384/libEGL.so.1
In case something has gone wrong with nvidia, use following command to restore
sudo dpkg-reconfigure nvidia*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment