Hi, YoYo. On Thu, Apr 28, 2011 at 12:36:29PM +0200, YoYo Siska wrote: > On Thu, Apr 28, 2011 at 09:45:55AM +0000, Alan Mackenzie wrote: > > Hi, Gentoo!
> > I try to run xpdf from within Gnome. It doesn't run. On the virtual > > terminal, the error message is: > > xpdf: error while loading shared libraries: libpoppler.so.5: cannot > > open shared object file: No such file or directory > > . However there is a library /usr/lib/libpoppler.so.7. > > ^ > revdep-rebuild ? > Seems like poppler has been updated, but xpdf wasn't recompiled yet to > use the new lib. Thanks! revdep-rebuild fixed it for me. > > I look in /var/db/pkg/app-text/xpdf-3.02-r4/DEPENDS, and see: > > >=app-text/poppler-0.12.3-r3[xpdf-headers] > > ^^ ^^^^^^^^^ > > I currently have installed poppler-0.14.5-r1, which satisfies DEPENDS. > > Presumably, though, it incorporate ....so.7, which is useless for xpdf. > > This situation, requiring an older version of a dynamic library, can't > > be unheard of. What's the canonical way of getting .....so.5? > > As a matter of interest, how do you say, in DEPENDS, that you need a > > library _between_ two version numbers rather than just >= than one? > > Am I missing anything else important? > you can say "&& ( >=something <something)" > but my guess is, that xpdf doesn't _need_ the old version of lib, it just > needs > to be recompiled with the new version... Indeed! > yoyo -- Alan Mackenzie (Nuremberg, Germany).