Wanted to add that :
when i do link with -lSDL, ldd does not show any reference to /usr/lib/libGL.so.1 and /usr/lib/libGLcore.so.1 as it should be (on Nvidia) ????
if i don't link with -lSDL then the linker will use that libraries, of course SDL is not use.
So i do suspect -lSDL to link with a kind of "static" wrong opengl lib at the link time, but i am just guessing.....
Does anyone have the same problem ?
Help is needed.