FS#35082 - [community] muPDF needs libpng15.so.15, but [testing]/libpng provides libpng16.so.16

Attached to Project: Community Packages
Opened by Janis Beckert (SuperFluffy) - Friday, 03 May 2013, 14:47 GMT
Last edited by Evangelos Foutras (foutrelis) - Friday, 03 May 2013, 16:42 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Trying to open a .pdf document using the mupdf program, I get the following error:
> % mupdf /path/to/pdf
> mupdf: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory

It turns out that mupdf is linked to libpng15.so.15:
> ldd /usr/bin/mupdf
> libpng15.so.15 => not found

This in turn is provided by [community]/libpng
> % pkgfile libpng15.so.15
> extra/libpng

It cannot be found as I have [testing]/libpng installed, which provides libpng16.so.16:
> % pacman -Ql libpng
> libpng /usr/lib/libpng16.so.16


Additional info:
* package version(s)
mupdf 1.2-2
libpng 1.6.2-2


Steps to reproduce:
1) Install:
+ community/mupdf
+ testing/libpng

2)Open PDF

3) Get Error
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Friday, 03 May 2013, 16:42 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Enable [community-testing] in addition to [testing].
Comment by Evangelos Foutras (foutrelis) - Friday, 03 May 2013, 16:42 GMT
/usr/bin/mupdf doesn't link to libpng; it links to libjbig2dec which in turn links to libpng. (ldd is recursive, 'readelf -d' is not.)

So, enable [community-testing] in your pacman.conf and -Syu; you need to have jbig2dec 0.11-6 installed.

Loading...