error loading libGLcore.so.1: undefined symbol: __glTLSCXIndex

I checked and double checking I am linking against NVIDIA’s 0.9.5 drivers. It seems strange. Anyone have any ideas on what can be causing this.

Thanks,
Ed.

I hope that you didnt link with libGLcode.so.
You just have to link with -lGL and in case you use glut with -lglut -lX11 -lXext…

You may get weird errors if you have not cleaned up correctly any old libGL* files. I would recommend to search and delete all libGL.* and glx files and reinstall your driver. Maybe a solution… I encountered some linking errors myself with nvidia drivers until I did that clean up.

I had the same problem under RH 7.0 till I went to /usr/lib and repointed a symlink:

libGL.so.1=>libGL.so.1.2.030300 to libGL.so.1=>libGL.so.1.0.5

hope this helps,
Pete (pinter@p-squared.com)

Originally posted by pinter@p-squared.com:
[b]I had the same problem under RH 7.0 till I went to /usr/lib and repointed a symlink:

libGL.so.1=>libGL.so.1.2.030300 to libGL.so.1=>libGL.so.1.0.5

hope this helps,
Pete (pinter@p-squared.com)[/b]

It’s just that you have selected the nvidia file instead of Mesa one.
libGL.so.1.2.030300 is the mesa file
libGL.so.1.0.5 is the nvidia one.
I do not have the solution , i 'm just facing
the same problem.

It seems that I wasn’t linking against the right one… For some reason, I think RH 7.0 had something to do with it… Just double check the symbolic links