Mantis - evince
Viewing Issue Advanced Details
2880 packaging crash always 2008-05-14 06:20 2008-06-26 14:52
laurent  
calessio  
normal  
closed  
fixed  
none    
none  
0002880: evince won\'t start because of unmet dependency
I installed Evince yesterday, with a full upgrade performed before. However, it won\'t start, because a library is missing:

$ evince
ld.so.1: evince: fatal: libpoppler-glib.so.2: open failed: No such file or directory
Killed

I checked that poppler is indeed installed:

# pkg-get -i poppler
WARNING: gpg not found
No worries... you already have version 0.8.0,REV=2008.04.12 of poppler
If you doubt this message, run \'pkg-get -U\', then run
 \'pkg-get upgrade poppler\'

So as a work around, I linked the more recent version of the library with the named asked for:
# cd /opt/csw/lib/
# ln -s libpoppler-glib.so.3.0.0 libpoppler-glib.so.2

It allows Evince to start, though I didn\'t test extensively.
Issue History

Notes
(0005317)
laurent   
2008-05-19 03:22   
Actually, it seems the problem is because the correct packages of evince were not uploaded. The Blastwave page for evince announces it\'s at version:
evince 2.22.1,REV=2008.04.12

However, all mirrors I\'ve checked actually contain version:
evince-2.20.2,REV=2007.12.05-SunOS5.8-i386-CSW.pkg.gz

That is:
http://blastwave.network.com/csw/unstable/i386/5.10/ [^]
http://www.ibiblio.org/pub/packages/solaris/csw/unstable/i386/5.10/ [^]
http://mirrors.usc.edu/pub/blastwave/unstable/i386/5.10/ [^]
ftp://mirrors.sunsite.dk/mirrors/csw/unstable/i386/5.10/ [^]
(0005318)
calessio   
2008-05-19 05:39   
version 2.22.1 has been removed by the unstable catalog because it depends from a version of glib2 which is not yet in the unstable catalog.
though, when 2.22.1 has been removed and replaced with the older 2.20.2, the admin forgot to rollback poppler to the older version too, so evince 2.20.2 does not work because it depends on an older version of poppler than the one currently in unstable.
the quickest fix is to use evince and poppler from the stable catalog.