libOpenGL.so.0 can not be found

Hello, I just installed Clear Linux and I am on an Optimus laptop so i can’t install the NVidia drivers so I’m using Nouveau. I’m trying to open a game in Lutris and I get the following error:

error while loading shared libraries: libOpenGL.so.0: cannot open shared object file: No such file or directory

Is there a way to rectify this?

Can you do a sudo ldconfig -p | grep libOpenGL?

I did, it returns nothing.

Try two things, swupd repair and flatpak update, if lutris is from flatpak

Tried both of them, the situations is exactly the same even after a reboot.

This is weird because I don’t have libOpenGL as well.
What is the game?

libOpenGL is part of https://github.com/NVIDIA/libglvnd, which isn’t used in CL.

This is likely to happen if you fail to complete the Nvidia driver install. Maybe try sudo swupd repair --picky.

1 Like