1 |
I see the same situation, is is asking to rebuild and remove against "libpcre.so.0" |
2 |
Should I backup this file first, before removing it? |
3 |
|
4 |
The strange part is that on my other systems it did not ask me to rebuild/remove this library. |
5 |
|
6 |
-- |
7 |
Joseph |
8 |
|
9 |
|
10 |
On 05/31/12 19:34, Jarry wrote: |
11 |
>Hi, |
12 |
>I updated recently libpcre to 8.30-r2 on ~10 system without |
13 |
>problems. Today I updated the last one. As usually, this |
14 |
>message has been printed: |
15 |
> |
16 |
>* Messages for package dev-libs/libpcre-8.30-r2: |
17 |
>* Old versions of installed libraries were detected on your system. |
18 |
>* In order to avoid breaking packages that depend on these old libs, |
19 |
>* the libraries are not being removed. You need to run revdep-rebuild |
20 |
>* in order to remove these old dependencies. If you do not have this |
21 |
>* helper program, simply emerge the 'gentoolkit' package. |
22 |
>* |
23 |
>* # revdep-rebuild --library '/lib64/libpcre.so.0' && |
24 |
> rm '/lib64/libpcre.so.0' |
25 |
> |
26 |
>So I run first: |
27 |
># revdep-rebuild --library '/lib64/libpcre.so.0' |
28 |
> |
29 |
>To my big surprise, none packages have been found: |
30 |
>* There are no dynamic links to /lib64/libpcre.so.0. All done |
31 |
> |
32 |
>I was a little suspicious because I remember on all other |
33 |
>systems 2 packages had to be recompiled. So I created copy |
34 |
>of the above mentioned library in homedir, and removed it: |
35 |
># rm '/lib64/libpcre.so.0' |
36 |
> |
37 |
>Then I tried "revdep-rebuild" and got plenty of errors: |
38 |
> |
39 |
>grep: error while loading shared libraries: libpcre.so.0: |
40 |
> cannot open shared object file: No such file or directory |
41 |
> |
42 |
>Apparently, grep needs libpcre.so.0. But how is it possible |
43 |
>that "revdep-rebild --library '/lib64/libpcre.so.0'" does not |
44 |
>find any package linked to libpcre.so.0, yet when I remove it, |
45 |
>grep is broken? |
46 |
> |
47 |
>Does anybody remember what was the 2nd package linked to |
48 |
>libpcre.so.0, which had to be recompliled after libpcre |
49 |
>upgrade? |
50 |
> |
51 |
>Jarry |