troubles with libGL.so.1

Hi all,

I’m a beginner in coding OpenGL under Linux and so I have still some problems. After compiling, I want to start the program and I get this message:

error in loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory.

Can you help me?

if your using linux (im assuming yes from the forum im also assuming rh) you should find /etc/ld.so.conf file and make sure that the directory of of the location of libGL.so.1 is in there and once it is run as root /sbin/ldconfig

R

Wow, all is working fine now :slight_smile:
many thanks!