Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21594 - [xournal] cannot find libpoppler.so.6

Attached to Project: Arch Linux
Opened by Kit Barnes (KitB) - Thursday, 04 November 2010, 13:02 GMT
Last edited by Jan de Groot (JGC) - Monday, 10 January 2011, 12:06 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The build of xournal in extra uses libpoppler.so.6, a recent update to poppler places it in libpoppler.so.7

Please rebuild for the new version.
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 10 January 2011, 12:06 GMT
Reason for closing:  Works for me
Additional comments about closing:  The xournal binary you're trying to run is not the xournal binary in our repositories. Try removing it from /usr/local/bin.
Comment by Pierre Schmitz (Pierre) - Thursday, 04 November 2010, 13:21 GMT
Make sure your system is up-to-date. xournal does not even link to libpoppler at all. (Don't use ldd but readelf to check)
Comment by Ionut Biru (wonder) - Thursday, 04 November 2010, 13:25 GMT
post the log with:

LD_DEBUG=files xournal > log 2>&1
Comment by Kit Barnes (KitB) - Thursday, 04 November 2010, 14:10 GMT
Log attached.

I've compiled it from source on my own machine and it runs fine.
Making a symlink to libpoppler.so.7 as libpoppler.so.6 worked as well.
   log (2.5 KiB)
Comment by Ionut Biru (wonder) - Thursday, 04 November 2010, 14:21 GMT
remove symlinks and reinstall xournal from repos. maybe you recompiled some time ago that and it linked to poppler.
Comment by Kit Barnes (KitB) - Thursday, 04 November 2010, 14:23 GMT
I tried that already, it didn't work. (I only added the symlink to test)
Comment by Gaetan Bisson (vesath) - Thursday, 04 November 2010, 14:23 GMT
What version of the xournal package is it you have installed? (It works fine for me with xournal-0.4.5-2 on i686.)
What is the output of "readelf -d /usr/bin/xournal"? And "sha1sum /usr/bin/xournal"?
Comment by Kit Barnes (KitB) - Thursday, 04 November 2010, 14:26 GMT
hash is 3a72003161936ff1596a4fa0f2f2cce6d21fc0d3
readelf output is attached
Comment by Gaetan Bisson (vesath) - Thursday, 04 November 2010, 14:47 GMT
This is weird... Your readelf output is correct, and you are indeed using xournal-0.4.5-2-x86_64. But your linker does strange things: libart_lgpl_2 and libgio are only needed by libgnomecanvas-2, but the linker seems to believe they are directly required by xournal; similarly, libpoppler is only supposed to be needed by libpoppler-glib...
Is there anything unusal about your system you are not telling us? :)
Comment by Ionut Biru (wonder) - Thursday, 04 November 2010, 14:52 GMT
pacman -Qs poppler

i think he has an older version of poppler, libpoppler-glib and he symlinked libpoppler-glib.so.5

Comment by Kit Barnes (KitB) - Thursday, 04 November 2010, 15:09 GMT
local/poppler 0.14.4-1
PDF rendering library based on xpdf 3.0
local/poppler-data 0.4.3-1
Encoding data for the poppler PDF rendering library
local/poppler-glib 0.14.4-1
Poppler glib bindings


The exact command I used to make the symlink was:
sudo ln -s /usr/lib/libpoppler.so.7 /usr/lib/libpoppler.so.6

My system isn't peculiar in any way I know, could I run anything to check this?
Comment by Gaetan Bisson (vesath) - Thursday, 04 November 2010, 19:47 GMT
Is your entire system up-to-date? Are you withholding any package's upgrade? Did you do "pacman -Syu" recently?

Quite honestly, I don't see recompiling xournal as a satisfying solution until we know exactly what the problem is.

Just to be sure (and also because I'm running out of ideas): could you try installing this package (same PKGBUILD, but freshly compiled in a chroot) and tell me if it has the same issue as the current one? http://arch.vesath.org/all/xournal-0.4.5-2-x86_64.pkg.tar.xz
Comment by Kit Barnes (KitB) - Friday, 05 November 2010, 11:20 GMT
OK so your package doesn't work either.

I have run pacman -Syu recently and I'm holding back:

haskell-platform ghc cabal-install haskell-mtl haskell-quickcheck haskell-utf8-string haskell-x11-xft xmonad

I doubt any of these would be causing the problem but I suspect your judgement is better than mine.
Comment by Jan de Groot (JGC) - Friday, 05 November 2010, 12:49 GMT
What does ldd output here? Could be some weird library hanging around somewhere that gets linked instead of the official ones.
Comment by Gaetan Bisson (vesath) - Friday, 05 November 2010, 12:59 GMT
I agree none of the packages you're holding back should be a problem.

You mentioned the package you created with makepkg works for you. Could you also try building in a chroot and see if it works? See sections 3 and 4 of: https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot
Also, could you post somewhere on the Web the output of both makepkg and makechrootpkg and the respective packages they created?
Comment by Kit Barnes (KitB) - Friday, 05 November 2010, 13:44 GMT
I didn't make a package myself, I built from source and now run it from /usr/local/bin/xournal .
I should add that I built it from CVS source but I've just compiled from current version source and the result is the same.
Comment by Gaetan Bisson (vesath) - Friday, 05 November 2010, 14:59 GMT
Well, can you build using the PKGBUILD?...
Edit: And also give the output of "ldd /usr/bin/xournal" as Jan asked...
Comment by Kit Barnes (KitB) - Saturday, 06 November 2010, 11:01 GMT
I'll do the pkgbuild soon; I have coursework deadlines coming up.

Loading...