This just hit me as well, on a kosher 18.04 system. I recently upgraded to a newer nvidia card, so that must have mangled it somehow.
Looks like three of its symlinks got nuked: ls: cannot access '/usr/lib/x86_64-linux-gnu/libEGL.so': No such file or directory ls: cannot access '/usr/lib/x86_64-linux-gnu/libGL.so': No such file or directory ls: cannot access '/usr/lib/x86_64-linux-gnu/libGLESv2.so': No such file or directory lrwxrwxrwx 1 root root 22 Jun 5 07:16 /usr/lib/x86_64-linux-gnu/libGLdispatch.so -> libGLdispatch.so.0.0.0 ... -rw-r--r-- 1 root root 4697 Jan 25 2018 /usr/share/doc/libglvnd-dev/copyright Doing sudo apt install --reinstall libglvnd-dev resolved the problem here. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to libglvnd in Ubuntu. https://bugs.launchpad.net/bugs/1770742 Title: Cannot find -lGL To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libglvnd/+bug/1770742/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp