roband915
8th February 2011, 11:28
Hello
I´m at work and for about 2 hours ago they updated the redhat-system I´m using with a new nvidia driver. After that I can´t use opengl in my qt application.
When I remove "opengl" from the .pro file everything works fine.
The error I get is:
/usr/bin/ld: warning: libnvidia-tls.so.1, needed by /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libGL.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libGL.so: undefined reference to `_nv000003gl'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libGL.so: undefined reference to `_nv000001gl'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libGL.so: undefined reference to `_nv000006gl'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libGL.so: undefined reference to `_nv000005gl'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libGL.so: undefined reference to `_nv000002gl'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libGL.so: undefined reference to `_nv000007gl'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libGL.so: undefined reference to `_nv000004gl'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libGL.so: undefined reference to `_nv000000gl'
My guess was a linking problem so I did this. (This is where the new driver is located)
QT4_LDFLAGS=-L/usr/lib64/nvidia LDFLAGS=-L/usr/lib64/nvidia
But still the same error.
Does anyone have any idea?!
I´m at work and for about 2 hours ago they updated the redhat-system I´m using with a new nvidia driver. After that I can´t use opengl in my qt application.
When I remove "opengl" from the .pro file everything works fine.
The error I get is:
/usr/bin/ld: warning: libnvidia-tls.so.1, needed by /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libGL.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libGL.so: undefined reference to `_nv000003gl'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libGL.so: undefined reference to `_nv000001gl'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libGL.so: undefined reference to `_nv000006gl'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libGL.so: undefined reference to `_nv000005gl'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libGL.so: undefined reference to `_nv000002gl'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libGL.so: undefined reference to `_nv000007gl'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libGL.so: undefined reference to `_nv000004gl'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libGL.so: undefined reference to `_nv000000gl'
My guess was a linking problem so I did this. (This is where the new driver is located)
QT4_LDFLAGS=-L/usr/lib64/nvidia LDFLAGS=-L/usr/lib64/nvidia
But still the same error.
Does anyone have any idea?!