1 |
"Mark Haney" <mhaney@××××××××××××.org> posted |
2 |
458971ED.80304@××××××××××××.org, excerpted below, on Wed, 20 Dec 2006 |
3 |
12:25:01 -0500: |
4 |
|
5 |
> I sometimes opn amarok to listen to podcasts when I get some time to. |
6 |
> However, today I'm getting these errors: |
7 |
> |
8 |
> |
9 |
> /usr/kde/3.5/lib64/kde3/libamarok_void-engine_plugin.so: cannot open |
10 |
> shared object file: No such file or directory |
11 |
> |
12 |
> /usr/kde/3.5/lib64/kde3/libamarok_xine-engine.so: cannot open shared |
13 |
> object file: No such file or directory |
14 |
> |
15 |
> I've run revdep-rebuild and just emerged amarok by itself and I still get |
16 |
> this message. Has anyone seen this problem before? |
17 |
|
18 |
I've not seen the problem, but if you've remerged and still see the |
19 |
problem, it's likely a problem with your config. KDE apps normally store |
20 |
their user config in ~/.kde*, I have a number of symlinks here to a |
21 |
non-hidden ~/kde3.5 dir and I don't know which one is the default, but |
22 |
anyway, the configs of interest will be |
23 |
|
24 |
~/.kde*/share/apps/amarok/ , a directory with a number of files, and |
25 |
~/.kde*/share/config/amarokrc , a single config file. With amarok closed |
26 |
(make sure it's not still running in the tray), rename this dir and file |
27 |
to *.bak, so amorok starts with a clean config, and see if the problem |
28 |
still exists. |
29 |
|
30 |
If the problem disappears as I suspect it will, you'll have fixed that, |
31 |
but will have lost all your saved settings and scores and preferences and |
32 |
all that too, since that's all in the stuff you renamed (which is why I |
33 |
said rename it, not delete it). If you wish to retain all that, shut down |
34 |
amarok again and remove the new nearly default settings it probably |
35 |
created, and copy back amorokrc from your *.bak copy. Restart and see if |
36 |
the problem is still gone or reappears. |
37 |
|
38 |
If the problem has reappeared, you'll know the issue is in the amarokrc |
39 |
file and can delete it again (you still have the amorokrc.bak file, which |
40 |
you copied back for testing) and restore the apps/amorok dir. If the |
41 |
problem didn't reappear, you'll know it's in the apps/amorok dir and can |
42 |
leave the rc file where it is and proceed by copying half the files in the |
43 |
amorok dir back into place. Testing again will determine whether it's the |
44 |
half you moved in or the half you left out. |
45 |
|
46 |
Repeating this process, you'll soon isolate the problem file. At that |
47 |
point, you can either simply do without that file, recreating all the |
48 |
settings and/or info that was stored therein if desired, or do what |
49 |
amounts to the same process on the file, particularly if it's a text based |
50 |
config file as the rc files for instance normally are. If the file's |
51 |
divided into sections, after ensuring you have a backup copy, you can |
52 |
delete some of the sections while keeping the others and test that. |
53 |
Eventually you'll narrow down the problem to a single config section and |
54 |
you can begin testing the individual setting lines within that section. |
55 |
|
56 |
When you isolate the problem to an individual line, it's easy enough to |
57 |
delete that line and reconfigure whatever it controlled if necessary. |
58 |
However, often you'll not need to go to that extreme. By the time you |
59 |
isolate the file, or the config section within the file causing the |
60 |
problem, it'll often be less work to simply recreate its settings from the |
61 |
defaults, than it will be to isolate the problem further. |
62 |
|
63 |
The first time you use this technique, it'll be somewhat difficult, altho |
64 |
I eased that by pointing out the subdir and config file for amarok so you |
65 |
don't have to isolate to them from your entire ~/ dir. However, after |
66 |
doing it a couple times, you'll find it far easier to guess where in |
67 |
general the problem is, and be able to wipe out 3/4 or more of the |
68 |
possibilities at several steps in the isolation process, by simply making |
69 |
and testing educated guesses of where the problem is. For instance, if |
70 |
you had tried this on your own, a look at your home directory may have |
71 |
allowed you to conclude that ~/.kde* was the likely place for the config, |
72 |
and a look in there may have allowed you to conclude that share was the |
73 |
most likely suspect, and a look in there would have likely allowed you to |
74 |
conclude that something either under config or under apps was the likely |
75 |
suspect, and you could look for an amorok entry under each of them to |
76 |
test, thus eliminating all the REST of your home dir, and all the REST of |
77 |
the kde config dir, and all the REST of the share dir, and all the REST of |
78 |
the apps subdirs and all the REST of the config files, without even |
79 |
testing anything yet. Each of those eliminations saves you a step in the |
80 |
test and isolate process, thereby making it that much easier. Eventually, |
81 |
you'll know about where to look in most cases before you even start, and |
82 |
will often be able to guess the right file on your first test. |
83 |
|
84 |
Of course, you can simply blow away your entire config every time |
85 |
something like this comes up too, but for people like me that spend a lot |
86 |
of time customizing, that quickly becomes an untenable thing to |
87 |
contemplate, as a few minutes of educated guess elimination testing can |
88 |
often save literally hours of recustomization. |
89 |
|
90 |
-- |
91 |
Duncan - List replies preferred. No HTML msgs. |
92 |
"Every nonfree program has a lord, a master -- |
93 |
and if you use the program, he is your master." Richard Stallman |
94 |
|
95 |
-- |
96 |
gentoo-amd64@g.o mailing list |