Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] webalizer broke: libpng12.so.0: cannot open shared object file
Date: Sat, 22 Oct 2011 23:25:12
Message-Id: CAN0CFw0FyF9GzisKmzTnzRJc_+rWLscsGYBqbzUQGHF2RUDZoQ@mail.gmail.com
In Reply to: Re: [gentoo-user] webalizer broke: libpng12.so.0: cannot open shared object file by Florian Philipp
1 >>>>>> After updating world, webalizer fails like this:
2 >>>>>>
3 >>>>>> webalizer: error while loading shared libraries: libpng12.so.0: cannot
4 >>>>>> open shared object file: No such file or directory
5 >>>>>>
6 >>>>>> revdep-rebuild wants to emerge webalizer but it fails with:
7 >>>>>>
8 >>>>>> configure: error: GeoIP library not found... please install GeoIP.
9 >>>>>>
10 >>>>>> geoip emerges fine.  Does anyone know how to fix this?
11 >>>>>>
12 >>>>>> - Grant
13 >>>>>>
14 >>>>>
15 >>>>> Install libpng-1.2, libpng 1.2 and 1.5 can co-exist.
16 >>>>
17 >>>> Thank you.  I did that and webalizer now runs without error, but
18 >>>> re-emerging webalizer still fails with:
19 >>>>
20 >>>> configure: error: GeoIP library not found... please install GeoIP.
21 >>>
22 >>> Actually, the ~amd64 version of webalizer emerges fine.
23 >>>
24 >>> - Grant
25 >>
26 >> Sorry, one more note.  I noticed this at the end of the webalizer emerge output:
27 >>
28 >>  * Running /usr/sbin/webapp-cleaner -p -C /webalizer
29 >> /usr/sbin/webapp-cleaner: line 14: /sbin/functions.sh: No such file or directory
30 >>  * Nothing to clean
31 >>
32 >> Do I need to fix that?
33 >>
34 >> - Grant
35 >>
36 >
37 > Can you try a newer version of app-admin/webapp-config?
38
39 I did that and now I get:
40
41 * vhosts USE flag not set - auto-installing using webapp-config
42 * This is a re-installation
43 * webalizer-2.21.02 is already installed - replacing
44 * Running /usr/sbin/webapp-config -I -h localhost -u root -d
45 /webalizer webalizer 2.21.02
46 * Fatal error: Package webalizer-2.21.02 is already installed here.
47 * Fatal error: Use webapp-config -C to uninstall it first.
48 * Fatal error: Install directory already contains a web application!
49 * Fatal error(s) - aborting
50
51 I don't have a good understanding of how webapp-config works. Is this
52 sort of output to be expected whenever re-emerging a webapp package?
53
54 - Grant