unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#33455: Zathura can't display PDF or epub
@ 2018-11-21 11:41 Bradley Haggerty
  2018-11-21 16:42 ` Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Bradley Haggerty @ 2018-11-21 11:41 UTC (permalink / raw)
  To: 33455

[-- Attachment #1: Type: text/plain, Size: 1515 bytes --]

error: Could not load plugin
'/home/brad/.guix-profile/lib/zathura/libpdf-mupdf.so'
(/home/brad/.guix-profile/lib/zathura/libpdf-mupdf.so: undefined
symbol: jpeg_resync_to_restart).
error: plugin: filetype already registered: image/vnd.djvu
error: plugin: filetype already registered: image/vnd.djvu+multipage
error: Could not register plugin
'/home/brad/.guix-profile/lib/zathura/libdjvu.so'.
error: Could not load plugin
'/home/brad/.guix-profile/lib/zathura/libpdf-mupdf.so'
(/home/brad/.guix-profile/lib/zathura/libpdf-mupdf.so: undefined
symbol: jpeg_resync_to_restart).
error: plugin: filetype already registered: image/vnd.djvu
error: plugin: filetype already registered: image/vnd.djvu+multipage
error: Could not register plugin
'/home/brad/.guix-profile/lib/zathura/libdjvu.so'.
error: Could not load plugin
'/home/brad/.guix-profile/lib/zathura/libpdf-mupdf.so'
(/home/brad/.guix-profile/lib/zathura/libpdf-mupdf.so: undefined
symbol: jpeg_resync_to_restart).
error: plugin: filetype already registered: image/vnd.djvu
error: plugin: filetype already registered: image/vnd.djvu+multipage
error: Could not register plugin
'/home/brad/.guix-profile/lib/zathura/libdjvu.so'.
error: Could not load plugin
'/home/brad/.guix-profile/lib/zathura/libpdf-mupdf.so'
(/home/brad/.guix-profile/lib/zathura/libpdf-mupdf.so: undefined
symbol: jpeg_resync_to_restart).
error: Unknown file type: 'application/pdf'
error: Unknown file type: 'application/epub+zip'

guix (GNU Guix) f8cba3ff4fc6aed0c539700aa47b6e8f4c25c34d

[-- Attachment #2: Type: text/html, Size: 1865 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#33455: Zathura can't display PDF or epub
  2018-11-21 11:41 bug#33455: Zathura can't display PDF or epub Bradley Haggerty
@ 2018-11-21 16:42 ` Leo Famulari
  2018-11-21 18:12   ` Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2018-11-21 16:42 UTC (permalink / raw)
  To: Bradley Haggerty; +Cc: 33455

[-- Attachment #1: Type: text/plain, Size: 642 bytes --]

On Wed, Nov 21, 2018 at 11:41:10AM +0000, Bradley Haggerty wrote:
> error: Could not load plugin
> '/home/brad/.guix-profile/lib/zathura/libpdf-mupdf.so'
> (/home/brad/.guix-profile/lib/zathura/libpdf-mupdf.so: undefined
> symbol: jpeg_resync_to_restart).

I installed zathura and zathura-pdf-mupdf — is zathura supposed to be
modular? In any case, I got the same errors.

But, when I replaced zathura-pdf-mupdf with zathura-pdf-poppler and made
sure the requisite environment variables were set (`guix package
--search-paths`), PDF reading worked for me.

I didn't test reading EPUB files. Is zathura supposed to read EPUBs?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#33455: Zathura can't display PDF or epub
  2018-11-21 16:42 ` Leo Famulari
@ 2018-11-21 18:12   ` Ricardo Wurmus
  0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2018-11-21 18:12 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 33455, Bradley Haggerty


Leo Famulari <leo@famulari.name> writes:

> On Wed, Nov 21, 2018 at 11:41:10AM +0000, Bradley Haggerty wrote:
>> error: Could not load plugin
>> '/home/brad/.guix-profile/lib/zathura/libpdf-mupdf.so'
>> (/home/brad/.guix-profile/lib/zathura/libpdf-mupdf.so: undefined
>> symbol: jpeg_resync_to_restart).
>
> I installed zathura and zathura-pdf-mupdf — is zathura supposed to be
> modular? In any case, I got the same errors.

I was able to reproduce this as well.

It looks like zathura-pdf-mupdf needs to be built with
-Dlink_external=true.  I got this to work, but got stuck with a problem
in libmupdf.so, which seems to have symbols that are provided by
libmupdfthird.so.

It seems as if something’s not right with how these libraries are
linked.

--
Ricardo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-11-21 20:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-21 11:41 bug#33455: Zathura can't display PDF or epub Bradley Haggerty
2018-11-21 16:42 ` Leo Famulari
2018-11-21 18:12   ` Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).