Update 2022-10-17: This problem should be fixed with our current software stack. The workaround is not required any longer.
When trying to start a gui application like gvim, you get an error message:
Couldn't open libGL.so.1: libGL.so.1: cannot open shared object file: No such file or directory
A probable reason#
Your system does not support openGL forwarding over X11, and levante does not have the backup openGL library in its library path.
How to mitigate#
Load the mesa openGL library on levante:
spack load mesa