# 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 VNL for the first time.

To solve it, create (as administrator) a new link in /usr/lib:

 sudo ln -s /usr/lib/libGL.so.1.2 /usr/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!