1 |
I recently upgraded my nVidia drivers to address the security |
2 |
vulnerability, and noticed that, when I reset my OpenGL implementation |
3 |
using eselect, that my 32-bit apps that depend on OpenGL stopped working |
4 |
with the error: |
5 |
|
6 |
/opt/mplayer-bin/bin/mplayer-bin: error while loading shared libraries: |
7 |
libGL.so.1: cannot open shared object file: No such file or directory |
8 |
|
9 |
Upon some poking around, it seems that the symlinks in the /emul/linux |
10 |
tree are broken (imagine that the three links shown are blinking in red): |
11 |
|
12 |
lilith src # ls -l /usr/lib32/opengl/nvidia/lib/ |
13 |
total 4 |
14 |
-rw-r--r-- 1 root root 713 Oct 18 23:32 libGL.la |
15 |
lrwxrwxrwx 1 root root 17 Oct 18 23:32 libGL.so -> libGL.so.1.0.9626 |
16 |
lrwxrwxrwx 1 root root 21 Oct 18 23:32 libGLcore.so -> |
17 |
libGLcore.so.1.0.9626 |
18 |
lrwxrwxrwx 1 root root 23 Oct 18 23:32 libnvidia-tls.so -> |
19 |
../tls/libnvidia-tls.so |
20 |
|
21 |
ldconfig also seems unable to find libGL.so.1: |
22 |
|
23 |
lilith src # ldconfig -NXp | grep GL |
24 |
libQtOpenGL.so.4 (libc6,x86-64) => /usr/lib/qt4/libQtOpenGL.so.4 |
25 |
libQtOpenGL.so (libc6,x86-64) => /usr/lib/qt4/libQtOpenGL.so |
26 |
libGLw.so.1 (libc6,x86-64) => /usr/lib/libGLw.so.1 |
27 |
libGLw.so.1 (libc6) => /emul/linux/x86/usr/lib/libGLw.so.1 |
28 |
libGLw.so (libc6,x86-64) => /usr/lib/libGLw.so |
29 |
libGLw.so (libc6) => /emul/linux/x86/usr/lib/libGLw.so |
30 |
libGLcore.so.1 (libc6,x86-64) => |
31 |
/usr/lib64/opengl/nvidia/lib/libGLcore.so.1 |
32 |
libGLcore.so (libc6,x86-64) => |
33 |
/usr/lib64/opengl/nvidia/lib/libGLcore.so |
34 |
libGLcore.so (libc6,x86-64) => /usr/lib/libGLcore.so |
35 |
libGLU.so.1 (libc6,x86-64) => /usr/lib/libGLU.so.1 |
36 |
libGLU.so.1 (libc6) => /emul/linux/x86/usr/lib/libGLU.so.1 |
37 |
libGLU.so (libc6,x86-64) => /usr/lib/libGLU.so |
38 |
libGLU.so (libc6) => /emul/linux/x86/usr/lib/libGLU.so |
39 |
libGL.so.1 (libc6,x86-64) => /usr/lib64/opengl/nvidia/lib/libGL.so.1 |
40 |
libGL.so (libc6,x86-64) => /usr/lib64/opengl/nvidia/lib/libGL.so |
41 |
libGL.so (libc6,x86-64) => /usr/lib/libGL.so |
42 |
|
43 |
The links in the /emul tree seem to be working, but libGL.so.1 is |
44 |
conspicuously missing: |
45 |
|
46 |
lilith src # ls -l /emul/linux/x86/usr/lib/ | grep GL |
47 |
lrwxrwxrwx 1 root root 11 Oct 18 20:05 libGLU.so -> libGLU.so.1 |
48 |
lrwxrwxrwx 1 root root 20 Oct 18 20:05 libGLU.so.1 -> |
49 |
libGLU.so.1.3.060402 |
50 |
-rwxr-xr-x 1 root root 480372 Oct 18 20:05 libGLU.so.1.3.060402 |
51 |
lrwxrwxrwx 1 root root 11 Oct 18 20:05 libGLw.so -> libGLw.so.1 |
52 |
lrwxrwxrwx 1 root root 15 Oct 18 20:05 libGLw.so.1 -> libGLw.so.1.0.0 |
53 |
lrwxrwxrwx 1 root root 15 Oct 18 20:05 libGLw.so.1.0 -> libGLw.so.1.0.0 |
54 |
-rwxr-xr-x 1 root root 16792 Oct 18 20:05 libGLw.so.1.0.0 |
55 |
|
56 |
Any help would be appreciated. Thanks! |
57 |
-- |
58 |
gentoo-user@g.o mailing list |