Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 506802 - app-text/mupdf: missing libmupdf-js-none.so symlink for libmupdf-js-none.so.1.3 for -lmupdf-js-none linking to work
Summary: app-text/mupdf: missing libmupdf-js-none.so symlink for libmupdf-js-none.so.1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-05 06:35 UTC by Yuan Ye
Modified: 2014-06-05 09:18 UTC (History)
2 users (show)

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


Attachments
Create nonversioned libmupdf-js-none.so symlink. (mupdf-1.3_p20140118-dosym-js-none,438 bytes, patch)
2014-04-05 12:50 UTC, Nuno Silva
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuan Ye 2014-04-05 06:35:28 UTC
app-text/zathura-pdf-mupdf-0.2.6 won't compile, complaining "x86_64-pc-linux-gnu/bin/ld: cannot find -lmupdf-js-none". So it would be nice if mupdf provides a symlink libmupdf-js-nono.so to libmupdf-js-none.so.1.3.


Reproducible: Always

Steps to Reproduce:
1.install app-text/mupdf-1.3_p20140118
2.install app-text/zathura-pdf-mupdf-0.2.6
3.
Actual Results:  
zathura-pdf-mupdf won't compile:

Makefile:50: recipe for target 'pdf.so' failed
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lmupdf-js-none
collect2: error: ld returned 1 exit status
make: *** [pdf.so] Error 1
Comment 1 Nuno Silva 2014-04-05 12:50:08 UTC
Created attachment 374292 [details, diff]
Create nonversioned libmupdf-js-none.so symlink.

Happens here as well with =zathura-pdf-mupdf-0.2.6. Adding another dosym line, for -js-none, seems to fix it (patch attached).
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2014-04-05 14:31:24 UTC
+  05 Apr 2014; Samuli Suominen <ssuominen@gentoo.org>
+  zathura-pdf-mupdf-0.2.6.ebuild, zathura-pdf-mupdf-9999.ebuild:
+  Use pkg-config for determining mupdf libs wrt #506802

http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-9999.ebuild?r1=1.6&r2=1.7

http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/zathura-pdf-mupdf/zathura-pdf-mupdf-0.2.6.ebuild?r1=1.1&r2=1.2
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2014-04-05 15:08:07 UTC
Wait, even while zathura-pdf-mupdf is now fixed by other means, you are still right, there is a missing libmupdf-js-none.so symlink:

$ qlist mupdf|grep "\.so"
/usr/lib64/libmupdf-js-none.so.1.3
/usr/lib64/libmupdf.so.1.3
/usr/lib64/libmupdf.so
Comment 4 Michael Weber (RETIRED) gentoo-dev 2014-06-05 09:15:51 UTC
(In reply to Samuli Suominen from comment #3)
> Wait, even while zathura-pdf-mupdf is now fixed by other means, you are
> still right, there is a missing libmupdf-js-none.so symlink:
> 
> $ qlist mupdf|grep "\.so"
> /usr/lib64/libmupdf-js-none.so.1.3
> /usr/lib64/libmupdf.so.1.3
> /usr/lib64/libmupdf.so

Which version did you test?
The libmupdf-js-none is gone in 1.4.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2014-06-05 09:18:36 UTC
You are right, this bug is fixed in 1.4 by removal of the '-none.so* library