1 |
I'm using portage-2.2_pre*. After upgrading to sys-libs/readline-6.0, |
2 |
portage (naturally) kept /lib/libreadline.so.5 -> /lib/libreadline.so.5.2, |
3 |
because a lot of programs needed it. I did emerge @preserved-rebuild, and |
4 |
only one binary using libreadline.so.5.2 left: /usr/bin/gp, the |
5 |
interactive interpreter of sci-mathematics/pari. Re-emerging it does not |
6 |
help: headers from readline-6 are used, but the program links wirh |
7 |
libreadline.so.5.2. I thought something is wrong in the pari's configure. |
8 |
This package does not use autoconf, but a hand-written Configure script. |
9 |
It seems all right. Then I found that /lib/libreadline.so symlink still |
10 |
points to libreadline.so.5. This confuses the pari's Configure. I made it |
11 |
to point to libreadline.so.6 by hand, and re-emerged pari. OK, gp now |
12 |
links with libreadline.so.6.0. Why doesn't readline-6.0 ebuild install |
13 |
this symlink? |
14 |
|
15 |
After this re-emerging of pari, portage said |
16 |
|
17 |
!!! existing preserved libs: |
18 |
>>> package: sys-libs/readline-6.0_p3 |
19 |
* - /lib/libreadline.so |
20 |
* used by /usr/bin/M2 (sci-mathematics/Macaulay2-1.2-r3) |
21 |
* used by /usr/bin/Singular-3-0-4 (sci-mathematics/singular-3.0.4.4) |
22 |
* used by /usr/bin/asy (media-gfx/asymptote-1.86) |
23 |
* used by 111 other files |
24 |
|
25 |
I already re-emerged these packages (at least, 3 shown) as a part of |
26 |
emerging @preserved-rebuild after upgrading readline, and they were not in |
27 |
the @preserved-rebuild set before I changed the libreadline.so symlink. |
28 |
Does this mean that all of these packages used libreadline.so -> |
29 |
libreadline.so.5? This is not good. I'm going to emerge @preserved-rebuild |
30 |
again, to be sure that my system is in a self-consistent state. |
31 |
|
32 |
It seems that keeping libreadline.so -> libreadline.so.5 after merging |
33 |
readline-6.0 and unmerging readline-5.2 is a bad idea. |
34 |
|
35 |
Andrey |