1 |
Moin, |
2 |
|
3 |
ohne jetzt wirklich eine "saubere" Lösung für Dich zu haben, aber |
4 |
probier doch mal folgendes: |
5 |
|
6 |
Angel Dir eine vorhandene librt-x.y.z.so heraus |
7 |
ls -lh /lib/librt*.so |
8 |
|
9 |
und lege einen Symlink |
10 |
ln -sf /lib/librt-2.6.1.so /lib64/librt.so.1 |
11 |
|
12 |
und gut ist... :) |
13 |
|
14 |
- |
15 |
Oliver |
16 |
|
17 |
|
18 |
Am 03/26/2008 11:03 PM schrieb Fred Kastl: |
19 |
> hallo, |
20 |
> |
21 |
> seit einiger Zeit kann ich keine Pakte mehr mit Portage installieren |
22 |
> emerge bricht immer mit der folgenden Fehlermeldung ab: |
23 |
> |
24 |
> touch: error while loading shared libraries: librt.so.1: cannot open |
25 |
> shared object file: No such file or directory. |
26 |
> |
27 |
> ### revdep-rebuild found no missing library for touch or portage. |
28 |
> |
29 |
> ### ldconfig -p | grep librt.so.1 |
30 |
> librt.so.1 (libc6, OS ABI: Linux 2.6.9) => /lib/librt.so.1 |
31 |
> |
32 |
> ### ll /lib/librt.so.1 |
33 |
> lrwxrwxrwx 1 root root 14 19. Feb 19:22 /lib/librt.so.1 -> librt-2.6.1.so |
34 |
> ### ll /lib/librt-2.6.1.so |
35 |
> -rwxr-xr-x 1 root root 32400 8. Nov 14:05 /lib/librt-2.6.1.so |
36 |
> |
37 |
> ### equery belongs /lib/librt-2.6.1.so |
38 |
> [ Searching for file(s) /lib/librt-2.6.1.so in *... ] |
39 |
> sys-libs/glibc-2.6.1 (/lib/librt-2.6.1.so) |
40 |
> |
41 |
> ### fileaccess while running emerge --unmerge |
42 |
> fileaccess-dazuko /lib | grep librt |
43 |
> OPEN uid:0 pid:31995 mode:33261 flags:0 file_uid:0 file_gid:0 |
44 |
> file_device:0 file_size:32400 file:/lib/librt-2.6.1.so |
45 |
> OPEN uid:0 pid:32002 mode:33261 flags:0 file_uid:0 file_gid:0 |
46 |
> file_device:0 file_size:32400 file:/lib/librt-2.6.1.so |
47 |
> |
48 |
> Hat jemand eine Loesung ? |
49 |
> |
50 |
> Gruss |
51 |
> |
52 |
> Fred |
53 |
> |
54 |
> emerge --unmerge app-admin/gnomesu |
55 |
> |
56 |
> >>> These are the packages that would be unmerged: |
57 |
> |
58 |
> app-admin/gnomesu |
59 |
> selected: 0.3.1 |
60 |
> protected: none |
61 |
> omitted: none |
62 |
> |
63 |
> >>> 'Selected' packages are slated for removal. |
64 |
> >>> 'Protected' and 'omitted' packages will not be removed. |
65 |
> |
66 |
> Would you like to unmerge these packages? [Yes/No] y |
67 |
> >>> Waiting 5 seconds before starting... |
68 |
> >>> (Control-C to abort)... |
69 |
> >>> Unmerging in: 5 4 3 2 1 |
70 |
> >>> Unmerging app-admin/gnomesu-0.3.1... |
71 |
> touch: error while loading shared libraries: librt.so.1: cannot open |
72 |
> shared object file: No such file or directory |
73 |
> |
74 |
> * |
75 |
> * ERROR: media-tv/tvbrowser-2.5.3 failed. |
76 |
> * Call stack: |
77 |
> * ebuild.sh, line 1641: Called die |
78 |
> * The specific snippet of code: |
79 |
> * preprocess_ebuild_env || \ |
80 |
> * die "error processing environment" |
81 |
> * The die message: |
82 |
> * error processing environment |
83 |
> * |
84 |
> * If you need support, post the topmost build error, and the call |
85 |
> stack if relevant. |
86 |
> * A complete build log is located at |
87 |
> '/var/tmp/binpkgs/media-tv/tvbrowser-2.5.3/temp/build.log'. |
88 |
> * The ebuild environment file is located at |
89 |
> '/var/tmp/binpkgs/media-tv/tvbrowser-2.5.3/temp/environment'. |
90 |
> * |
91 |
> !!! FAILED prerm: 1 |
92 |
> * The 'prerm' phase of the 'media-tv/tvbrowser-2.5.3' package has failed |
93 |
> * with exit value 1. The problem occurred while executing the ebuild |
94 |
> * located at '/var/db/pkg/media- |
95 |
> * tv/tvbrowser-2.5.3/tvbrowser-2.5.3.ebuild'. If necessary, manually |
96 |
> * remove the ebuild in order to skip the execution of removal phases. |
97 |
> |
98 |
> |
99 |
> ### und #### |
100 |
> |
101 |
> |
102 |
> emerge --unmerge media-tv/tvbrowser |
103 |
> |
104 |
> >>> These are the packages that would be unmerged: |
105 |
> |
106 |
> media-tv/tvbrowser |
107 |
> selected: 2.5.3 2.6.3 |
108 |
> protected: none |
109 |
> omitted: none |
110 |
> |
111 |
> >>> 'Selected' packages are slated for removal. |
112 |
> >>> 'Protected' and 'omitted' packages will not be removed. |
113 |
> |
114 |
> Would you like to unmerge these packages? [Yes/No] y |
115 |
> >>> Waiting 5 seconds before starting... |
116 |
> >>> (Control-C to abort)... |
117 |
> >>> Unmerging in: 5 4 3 2 1 |
118 |
> >>> Unmerging media-tv/tvbrowser-2.5.3... |
119 |
> touch: error while loading shared libraries: librt.so.1: cannot open |
120 |
> shared object file: No such file or directory |
121 |
> * |
122 |
> * ERROR: media-tv/tvbrowser-2.5.3 failed. |
123 |
> * Call stack: |
124 |
> * ebuild.sh, line 1641: Called die |
125 |
> * The specific snippet of code: |
126 |
> * preprocess_ebuild_env || \ |
127 |
> * die "error processing environment" |
128 |
> * The die message: |
129 |
> * error processing environment |
130 |
> * |
131 |
> * If you need support, post the topmost build error, and the call |
132 |
> stack if relevant. |
133 |
> * A complete build log is located at |
134 |
> '/var/tmp/binpkgs/media-tv/tvbrowser-2.5.3/temp/build.log'. |
135 |
> * The ebuild environment file is located at |
136 |
> '/var/tmp/binpkgs/media-tv/tvbrowser-2.5.3/temp/environment'. |
137 |
> * |
138 |
> !!! FAILED prerm: 1 |
139 |
> * The 'prerm' phase of the 'media-tv/tvbrowser-2.5.3' package has failed |
140 |
> * with exit value 1. The problem occurred while executing the ebuild |
141 |
> * located at '/var/db/pkg/media- |
142 |
> * tv/tvbrowser-2.5.3/tvbrowser-2.5.3.ebuild'. If necessary, manually |
143 |
> * remove the ebuild in order to skip the execution of removal phases. |
144 |
> |
145 |
> #### /usr/lib/portage/bin/ebuild.sh |
146 |
> |
147 |
> preprocess_ebuild_env() { |
148 |
> local filter_opts="" |
149 |
> if [ -f "${T}/environment.raw" ] ; then |
150 |
> # This is a signal from the python side, indicating |
151 |
> that the |
152 |
> # environment may contain stale |
153 |
> SANDBOX_{DENY,PREDICT,READ,WRITE} |
154 |
> # and FEATURES variables that should be filtered out. |
155 |
> Between |
156 |
> # phases, these variables are normally preserved. |
157 |
> filter_opts="--filter-sandbox --filter-features |
158 |
> ${filter_opts}" |
159 |
> fi |
160 |
> filter_readonly_variables ${filter_opts} < "${T}"/environment \ |
161 |
> > "${T}"/environment.filtered || return $? |
162 |
> unset filter_opts |
163 |
> mv "${T}"/environment.filtered "${T}"/environment || return $? |
164 |
> rm -f "${T}/environment.success" || return $? |
165 |
> # WARNING: Code inside this subshell should avoid making |
166 |
> assumptions |
167 |
> # about variables or functions after source "${T}"/environment |
168 |
> has been |
169 |
> # called. Any variables that need to be relied upon should |
170 |
> already be |
171 |
> # filtered out above. |
172 |
> ( |
173 |
> export SANDBOX_ON=1 |
174 |
> source "${T}/environment" || exit $? |
175 |
> # We have to temporarily disable sandbox since the |
176 |
> # SANDBOX_{DENY,READ,PREDICT,WRITE} values we've just |
177 |
> loaded |
178 |
> # may be unusable (triggering in spurious sandbox |
179 |
> violations) |
180 |
> # until we've merged them with our current values. |
181 |
> export SANDBOX_ON=0 |
182 |
> |
183 |
> # It's remotely possible that save_ebuild_env() has |
184 |
> been overridden |
185 |
> # by the above source command. To protect ourselves, |
186 |
> we override it |
187 |
> # here with our own version. ${PORTAGE_BIN_PATH} is |
188 |
> safe to use here |
189 |
> # because it's already filtered above. |
190 |
> source "${PORTAGE_BIN_PATH}/isolated-functions.sh" || |
191 |
> exit $? |
192 |
> |
193 |
> # Rely on save_ebuild_env() to filter out any |
194 |
> remaining variables |
195 |
> # and functions that could interfere with the current |
196 |
> environment. |
197 |
> save_ebuild_env || exit $? |
198 |
> ###### touch "${T}/environment.success" || exit $? |
199 |
> ) > "${T}/environment.filtered" |
200 |
> |
201 |
> |
202 |
> #### /usr/lib/portage/bin/ebuild.sh with -xv option |
203 |
> ... |
204 |
> |
205 |
> export |
206 |
> type touch |
207 |
> + touch |
208 |
> /var/tmp/binpkgs/media-tv/tvbrowser-2.5.3/temp/environment.success |
209 |
> touch: error while loading shared libraries: librt.so.1: cannot open |
210 |
> shared object file: No such file or directory |
211 |
> + exit 127 |
212 |
> + local retval |
213 |
> .... |
214 |
> |
215 |
> ### Wenn ich den Befehl touch |
216 |
> /var/tmp/binpkgs/media-tv/tvbrowser-2.5.3/temp/environment.success in |
217 |
> der console ausfuehre kommt kein Fehler |
218 |
> |
219 |
> emerge --unmerge media-tv/tvbrowser |
220 |
> |
221 |
> >>> These are the packages that would be unmerged: |
222 |
> |
223 |
> media-tv/tvbrowser |
224 |
> selected: 2.5.3 2.6.3 |
225 |
> protected: none |
226 |
> omitted: none |
227 |
> |
228 |
> >>> 'Selected' packages are slated for removal. |
229 |
> >>> 'Protected' and 'omitted' packages will not be removed. |
230 |
> |
231 |
> Would you like to unmerge these packages? [Yes/No] y |
232 |
> >>> Waiting 5 seconds before starting... |
233 |
> >>> (Control-C to abort)... |
234 |
> >>> Unmerging in: 5 4 3 2 1 |
235 |
> >>> Unmerging media-tv/tvbrowser-2.5.3... |
236 |
> touch: error while loading shared libraries: librt.so.1: cannot open |
237 |
> shared object file: No such file or directory |
238 |
> * |
239 |
> * ERROR: media-tv/tvbrowser-2.5.3 failed. |
240 |
> * Call stack: |
241 |
> * ebuild.sh, line 1641: Called die |
242 |
> * The specific snippet of code: |
243 |
> * preprocess_ebuild_env || \ |
244 |
> * die "error processing environment" |
245 |
> * The die message: |
246 |
> * error processing environment |
247 |
> * |
248 |
> * If you need support, post the topmost build error, and the call |
249 |
> stack if relevant. |
250 |
> * A complete build log is located at |
251 |
> '/var/tmp/binpkgs/media-tv/tvbrowser-2.5.3/temp/build.log'. |
252 |
> * The ebuild environment file is located at |
253 |
> '/var/tmp/binpkgs/media-tv/tvbrowser-2.5.3/temp/environment'. |
254 |
> * |
255 |
> !!! FAILED prerm: 1 |
256 |
> * The 'prerm' phase of the 'media-tv/tvbrowser-2.5.3' package has failed |
257 |
> * with exit value 1. The problem occurred while executing the ebuild |
258 |
> * located at '/var/db/pkg/media- |
259 |
> * tv/tvbrowser-2.5.3/tvbrowser-2.5.3.ebuild'. If necessary, manually |
260 |
> * remove the ebuild in order to skip the execution of removal phases. |
261 |
> |
262 |
|
263 |
-- |
264 |
gentoo-user-de@l.g.o mailing list |