linux-gate.so.1 => (0xffffe000)
libGL.so.1 => /usr/lib/opengl/nvidia/lib/libGL.so.1 (0x4003c000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400a4000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400b2000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40175000)
libm.so.6 => /lib/libm.so.6 (0x401c7000)
libc.so.6 => /lib/libc.so.6 (0x401e8000)
libGLcore.so.1 => /usr/lib/opengl/nvidia/lib/libGLcore.so.1 (0x402f4000)
libnvidia-tls.so.1 => /usr/lib/opengl/nvidia/lib/libnvidia-tls.so.1 (0x409cc000)
libdl.so.2 => /lib/libdl.so.2 (0x409ce000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
all libraries are the ones from nvidia !!
Are you sure all the libraries are the nvidia ones? I'm having a similar problem. My ldd output looks exaclty like yours and I know this is the problem, still trying to figure out how to fix it though.
In my case the libGL located at /usr/lib/opengl/nvidia... is not the right library. If fact I need to change this to /usr/lib/libGL.so.
Would anyone know how to accomplish this? I know it has to do with ldconfig and paths.