Sunday, November 2, 2008

HowTo solve Evince libpoppler problem

Hi, I want to share with you a little "trick" to make Evince work (the default PDF Reader for Ubuntu) if it doesn't and you're using the latest version (for example the one that you can find on Intrepid Ibex). If you get this error when you try to launch it using the Terminal:
evince: error while loading shared libraries: libpoppler-glib.so.3: cannot open shared object file: No such file or directory
the problem is easily resolved by linking the new libpoppler (which changed its version and file names) with the older one names, and Evince will simply work again! So, open up a Terminal and type these commands:
sudo -s
cd /usr/lib
ln -s libpoppler.so.4.0.0 libpoppler.so.3
ln -s libpoppler-glib.so.4.0.0 libpoppler-glib.so.3
That's all! :-)

12 comments:

  1. Hi,
    doesn't work for me,
    but downgrade to ver. 0.8.7-1 works !
    regards, wk

    ReplyDelete
  2. Version 0.8.7-1? Are you sure that you're using Ubuntu Intrepid or any updated distribution? I'm using the 2.24.1-0 version modified by the Ubuntu team... However evince has always the same problem (as you can find googling a little)... Maybe it is that it is looking for libpoppler.so.2 instead of libpoppler.so.3! What was your error?

    ReplyDelete
  3. Great tip! Evince is working again on my Intrepid. Thanks man, good job.

    ReplyDelete
  4. It works! Thank you for this small tutorial :)

    ReplyDelete
  5. Thanks a lot for the workaround. I believe this is a bug on Ubuntu Intrepid.

    ReplyDelete
  6. # cd /usr/libcd /usr/lib
    bash: cd: /usr/libcd: No such file or directory

    ReplyDelete
  7. whoops, my bad, forget that last comment

    ReplyDelete
  8. Worked like a charm. Now if i can just get it to open PDF files.

    symbol lookup error: /usr/lib/libpoppler-glib.so.3: undefined symbol: cairo_font_options_set_lcd_filter

    ReplyDelete
  9. I have the same error :(

    symbol lookup error: /usr/lib/libpoppler-glib.so.3: undefined symbol: cairo_font_options_set_lcd_filter

    Who help me?

    ReplyDelete
  10. The solution to this problem:

    You must downgraded package libpoppler3 and libpoppler-glib3 to version: 0.8.7-1
    In Sinaptic select a package, and then click Package -> Force version
    At the end of Package -> Lock version


    Sorry for my English ;)
    I hope that everything is clear :)

    ReplyDelete
  11. Thanks ;) the problem is that downgrading it without blocking on that version will make it update again in no time... So I suggested that method, that isn't working anymore, I see... I'll try and find a solution, I promise!

    ReplyDelete
  12. If you could do anything OR wish for anything that would come true, what would you wish?

    ReplyDelete