1 |
On 09/08/2010 05:47 PM, Alan McKinnon wrote: |
2 |
> Apparently, though unproven, at 23:19 on Wednesday 08 September 2010, dhk did |
3 |
> opine thusly: |
4 |
> |
5 |
>> On 09/08/2010 09:36 AM, Alan McKinnon wrote: |
6 |
>>> Apparently, though unproven, at 15:11 on Wednesday 08 September 2010, dhk |
7 |
>>> did |
8 |
>>> |
9 |
>>> opine thusly: |
10 |
>>>> Below is the output when I run "revdep-rebuild --ignore". This started |
11 |
>>>> in the spring and never cleared up. Everything on my amd64 box runs |
12 |
>>>> fine and nothing complains about the missing library. I regularly do |
13 |
>>>> updates and everytime I run "revdep-rebuild --ignore" I get the same |
14 |
>>>> results. How can I fix or get rid of this problem? |
15 |
>>>> |
16 |
>>>> # revdep-rebuild --ignore |
17 |
>>>> |
18 |
>>>> * Configuring search environment for revdep-rebuild |
19 |
>>>> |
20 |
>>>> * Checking reverse dependencies |
21 |
>>>> * Packages containing binaries and libraries broken by a package update |
22 |
>>>> * will be emerged. |
23 |
>>>> |
24 |
>>>> * Collecting system binaries and libraries |
25 |
>>>> * Generated new 1_files.rr |
26 |
>>>> * Collecting complete LD_LIBRARY_PATH |
27 |
>>>> * Generated new 2_ldpath.rr |
28 |
>>>> * Checking dynamic linking consistency |
29 |
>>>> |
30 |
>>>> [ 39% ] * broken /usr/lib32/qt4/libQtOpenGL.so.4.6.2 (requires |
31 |
>>>> libGL.so.1) |
32 |
>>> |
33 |
>>> LibGL is normally provided by xorg (or by emul-linux-x86-opengl) for the |
34 |
>>> 32 bit lib on a 64 bits system. |
35 |
>>> |
36 |
>>> In my case, I have this: |
37 |
>>> |
38 |
>>> alan@nazgul ~ $ ls -al /usr/lib32/libGL.so |
39 |
>>> lrwxrwxrwx 1 root root 33 2010-09-01 11:29 /usr/lib32/libGL.so -> |
40 |
>>> opengl/nvidia/lib/libGL.so.256.53 |
41 |
>>> alan@nazgul ~ $ ls -al /usr/lib32/opengl/xorg-x11/lib/libGL.so.1.2 |
42 |
>>> -rwxr-xr-x 1 root root 473556 2010-06-11 11:29 /usr/lib32/opengl/xorg- |
43 |
>>> x11/lib/libGL.so.1.2 |
44 |
>>> alan@nazgul ~ $ ls -al /usr/lib32/opengl/nvidia/lib/libGL.so* |
45 |
>>> lrwxrwxrwx 1 root root 15 2010-09-01 11:29 |
46 |
>>> /usr/lib32/opengl/nvidia/lib/libGL.so -> libGL.so.256.53 |
47 |
>>> lrwxrwxrwx 1 root root 15 2010-09-01 11:29 |
48 |
>>> /usr/lib32/opengl/nvidia/lib/libGL.so.1 -> libGL.so.256.53 |
49 |
>>> -rwxr-xr-x 1 root root 765460 2010-09-01 11:29 |
50 |
>>> /usr/lib32/opengl/nvidia/lib/libGL.so.256.53 |
51 |
>>> |
52 |
>>> |
53 |
>>> I think you need to run "eselect opengl" to fix all your symlinks |
54 |
>> |
55 |
>> I ran the following, but the "revdep-rebuild --ignore" results are the |
56 |
>> same. # eselect opengl list |
57 |
>> Available OpenGL implementations: |
58 |
>> [1] xorg-x11 * |
59 |
>> # eselect opengl set 1 |
60 |
>> Switching to xorg-x11 OpenGL interface... done |
61 |
>> # eselect opengl list |
62 |
>> Available OpenGL implementations: |
63 |
>> [1] xorg-x11 * |
64 |
>> |
65 |
>> I also don't have the following. |
66 |
>> # ls -l /usr/lib32/opengl* |
67 |
>> ls: cannot access /usr/lib32/opengl*: No such file or directory |
68 |
>> # ls -al /usr/lib32/libGL.so |
69 |
>> ls: cannot access /usr/lib32/libGL.so: No such file or directory |
70 |
> |
71 |
> |
72 |
> In that case, I think you need to conclude that emul-linux-x86-qtlibs is |
73 |
> built to link to libGL which you don't have and which you can't fix (it's a |
74 |
> binary package). So you could |
75 |
> |
76 |
> - delete /usr/lib32/qt4/libQtOpenGL.so.4.6.2 as I doubt you are running 32 bit |
77 |
> Qt apps, or |
78 |
> - use SEARCH_DIRS_MASK to tell revdep-rebuild to just ignore that file |
79 |
> |
80 |
> |
81 |
> |
82 |
> |
83 |
|
84 |
Well I deleted /usr/lib32/qt4/libQtOpenGL.so.4.6.2 and ran |
85 |
revdep-rebuild and got the following |
86 |
. . . |
87 |
* Checking dynamic linking consistency |
88 |
[ 39% ] * broken |
89 |
/usr/lib32/qt4/plugins/graphicssystems/libqglgraphicssystem.so (requires |
90 |
libQtOpenGL.so.4) |
91 |
[ 100% ] |
92 |
* Generated new 3_broken.rr |
93 |
. . . |
94 |
* All prepared. Starting rebuild |
95 |
emerge --oneshot --jobs=2 --with-bdeps y |
96 |
app-emulation/emul-linux-x86-qtlibs:0 |
97 |
.......... |
98 |
Calculating dependencies... done! |
99 |
|
100 |
After revdep-rebuild finished the library was back. |
101 |
|
102 |
dhk |