Gentoo Archives: gentoo-user

From: Alan Mackenzie <acm@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] xpdf won't run - missing libpoppler.so.5
Date: Thu, 28 Apr 2011 13:29:10
Message-Id: 20110428131348.GC4694@acm.acm
In Reply to: Re: [gentoo-user] xpdf won't run - missing libpoppler.so.5 by YoYo Siska
1 Hi, YoYo.
2
3 On Thu, Apr 28, 2011 at 12:36:29PM +0200, YoYo Siska wrote:
4 > On Thu, Apr 28, 2011 at 09:45:55AM +0000, Alan Mackenzie wrote:
5 > > Hi, Gentoo!
6
7 > > I try to run xpdf from within Gnome. It doesn't run. On the virtual
8 > > terminal, the error message is:
9
10 > > xpdf: error while loading shared libraries: libpoppler.so.5: cannot
11 > > open shared object file: No such file or directory
12
13 > > . However there is a library /usr/lib/libpoppler.so.7.
14 > > ^
15 > revdep-rebuild ?
16
17 > Seems like poppler has been updated, but xpdf wasn't recompiled yet to
18 > use the new lib.
19
20 Thanks! revdep-rebuild fixed it for me.
21
22 > > I look in /var/db/pkg/app-text/xpdf-3.02-r4/DEPENDS, and see:
23
24 > > >=app-text/poppler-0.12.3-r3[xpdf-headers]
25 > > ^^ ^^^^^^^^^
26
27 > > I currently have installed poppler-0.14.5-r1, which satisfies DEPENDS.
28 > > Presumably, though, it incorporate ....so.7, which is useless for xpdf.
29
30 > > This situation, requiring an older version of a dynamic library, can't
31 > > be unheard of. What's the canonical way of getting .....so.5?
32
33 > > As a matter of interest, how do you say, in DEPENDS, that you need a
34 > > library _between_ two version numbers rather than just >= than one?
35
36 > > Am I missing anything else important?
37
38 > you can say "&& ( >=something <something)"
39 > but my guess is, that xpdf doesn't _need_ the old version of lib, it just needs
40 > to be recompiled with the new version...
41
42 Indeed!
43
44 > yoyo
45
46 --
47 Alan Mackenzie (Nuremberg, Germany).