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