Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473070 - >=app-text/mupdf-1.2 shared lib misses NEEDED libs (WAS app-text/zathura-pdf-mupdf-9999 needs to link to additional libraries)
Summary: >=app-text/mupdf-1.2 shared lib misses NEEDED libs (WAS app-text/zathura-pdf-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-12 08:51 UTC by Helmut Jarausch
Modified: 2013-06-12 16:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
corrected ebuild file (zathura-pdf-mupdf-9999.ebuild,999 bytes, text/plain)
2013-06-12 08:51 UTC, Helmut Jarausch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2013-06-12 08:51:43 UTC
Created attachment 350816 [details]
corrected ebuild file

Having built zathura-pdf-mupdf-9999 with the current ebuild zathura bails out with
error: 
could not load plugin /usr/lib64/zathura/pdf.so (/usr/lib64/libfitz.so.1.2: undefined symbol: PKCS7_dataVerify)

Comparing with the mupdf binary it turns out that linkage to 2 additional
libraries openjp2 and crypto is necessary.

An ebuild with these modifications is attached.
Comment 1 Michael Weber (RETIRED) gentoo-dev 2013-06-12 14:38:05 UTC
There has been a problem in the linking of the mupdf shared lib, i.e. it misses all NEEDED entries, resulting in link and runtime failure.

I worked this out yesterday and just committed the change to add these values (link against needed libs) and to prevent the linker from accepting such failures in the future (-Wl,--no-undefined).

It should be fine as soon as you re-emerge mupdf-9999 with this changeset
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-text/mupdf/mupdf-9999.ebuild?r1=1.33&r2=1.34
Comment 2 Helmut Jarausch 2013-06-12 16:04:17 UTC
(In reply to Michael Weber from comment #1)
> There has been a problem in the linking of the mupdf shared lib, i.e. it
> misses all NEEDED entries, resulting in link and runtime failure.
> 
> I worked this out yesterday and just committed the change to add these
> values (link against needed libs) and to prevent the linker from accepting
> such failures in the future (-Wl,--no-undefined).
> 
> It should be fine as soon as you re-emerge mupdf-9999 with this changeset
> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-text/mupdf/mupdf-
> 9999.ebuild?r1=1.33&r2=1.34

Thanks, that solves the issue,
Helmut