libGL.so: Cannot Open Shared Object File

The error message:

OSError: libGL.so: cannot open shared object file: No such file or directory

may appear on Linux systems when you try to launch QuantumATK for the first time.

To solve it, create a new link:

$ sudo ln -s /usr/lib/libGL.so.1.2 <quantumatk_installation_path>/lib/libGL.so

If you have a 64-bit Linux, use /usr/lib64 instead.

However, first check that you actually have libGL.so.1.2 in /usr/lib or /usr/lib64. It might be called libGL.so.1 or something else instead, or located in another directory, depending on the video drivers. You can use:

$ locate libGL

to find the correct file to link to. On some systems we have seen that the same link needs to be created for libGLU.so as well. Note that in this case, the error message may still complain about libGL.so!

Up to date details can be found in the FAQ page about system requirements for each version of QuantumATK.