1 |
On Wednesday 30 June 2010 23:17:28 Mick wrote: |
2 |
> On Tuesday 29 June 2010 22:56:56 Alan McKinnon wrote: |
3 |
> > Seems like the horrendous screw-up that was the libpng-1.4 update never |
4 |
> > got fixed properly and is hitting stable users now. |
5 |
> > |
6 |
> > Flameeyes, in his usual in-your-face style, has documented what needs to |
7 |
> > be done: |
8 |
> > |
9 |
> > http://blog.flameeyes.eu/2010/06/29/stable-users-libpng-update |
10 |
> > |
11 |
> > If you are a stable user, save yourself a lot of trouble over the next |
12 |
> > few days, read his blog and do what he says. He has this uncanny ability |
13 |
> > of almost always being correct on technical toolchain matters |
14 |
> |
15 |
> Blast! I emerged media-libs/libpng-1.4.3 only 2 days ago and ... I |
16 |
> followed what the elog told me which was to run the very scrip that |
17 |
> Flameeyes says it causes long term problems! O_O |
18 |
> |
19 |
> This is what I have in terms of libpng* (on an amd64 system): |
20 |
> |
21 |
> # ls -la /usr/lib/libpng* |
22 |
> -rw-r--r-- 1 root root 236422 Jun 28 12:56 /usr/lib/libpng14.a |
23 |
> -rw-r--r-- 1 root root 935 Jun 28 12:57 /usr/lib/libpng14.la |
24 |
> lrwxrwxrwx 1 root root 18 Jun 28 12:56 /usr/lib/libpng14.so -> |
25 |
> libpng14.so.14.3.0 |
26 |
> lrwxrwxrwx 1 root root 18 Jun 28 12:56 /usr/lib/libpng14.so.14 -> |
27 |
> libpng14.so.14.3.0 |
28 |
> -rwxr-xr-x 1 root root 158400 Jun 28 12:56 /usr/lib/libpng14.so.14.3.0 |
29 |
> lrwxrwxrwx 1 root root 10 Jun 28 12:56 /usr/lib/libpng.a -> libpng14.a |
30 |
> -rw-r--r-- 1 root root 935 Jun 28 12:57 /usr/lib/libpng.la |
31 |
> lrwxrwxrwx 1 root root 11 Jun 28 12:56 /usr/lib/libpng.so -> |
32 |
> libpng14.so |
33 |
> |
34 |
> # ls -la /usr/lib64/libpng* |
35 |
> -rw-r--r-- 1 root root 236422 Jun 28 12:56 /usr/lib64/libpng14.a |
36 |
> -rw-r--r-- 1 root root 935 Jun 28 12:57 /usr/lib64/libpng14.la |
37 |
> lrwxrwxrwx 1 root root 18 Jun 28 12:56 /usr/lib64/libpng14.so -> |
38 |
> libpng14.so.14.3.0 |
39 |
> lrwxrwxrwx 1 root root 18 Jun 28 12:56 /usr/lib64/libpng14.so.14 -> |
40 |
> libpng14.so.14.3.0 |
41 |
> -rwxr-xr-x 1 root root 158400 Jun 28 12:56 /usr/lib64/libpng14.so.14.3.0 |
42 |
> lrwxrwxrwx 1 root root 10 Jun 28 12:56 /usr/lib64/libpng.a -> |
43 |
> libpng14.a -rw-r--r-- 1 root root 935 Jun 28 12:57 /usr/lib64/libpng.la |
44 |
> lrwxrwxrwx 1 root root 11 Jun 28 12:56 /usr/lib64/libpng.so -> |
45 |
> libpng14.so |
46 |
> |
47 |
> Is this OK? What now? |
48 |
|
49 |
I remember now what I eventually did to fix all my libpng problems back then: |
50 |
|
51 |
unmerge libpng |
52 |
delete everything left with libpng in it's name |
53 |
emerge -pvuND world just to see what was now busted |
54 |
same with revdep-rebuild |
55 |
re-emerge libpng and let portage pick the version to merge |
56 |
emerge -avuND world |
57 |
revdep-rebuild |
58 |
repeat till no problems reported |
59 |
|
60 |
and lafilefixer --justfixit somewhere in the mix as well just for good |
61 |
measure. |
62 |
|
63 |
This is called the "throw shit at the wall and hope some of it sticks" method |
64 |
of updating systems. By happy good fortune, it worked out for me. |
65 |
|
66 |
aka the dark underside of source-based systems :-) |
67 |
|
68 |
|
69 |
|
70 |
-- |
71 |
alan dot mckinnon at gmail dot com |