LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 01-05-2020, 10:55 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
Making Okular 1.4.3 to accept the MOBI format.


Kernel: 4.17.8-1-ARCH
Xfce 4.12
Okular 1.4.3


Hi: I ran okular, the PDF/DJVU reader, on the file shown below, which is a MOBI file and got the following message:
Code:
bill@darkstar/almacen/Nonsoft/libros/literature$ okular The_Works_of_Rudyard_Kipling.mobi 
org.kde.okular.core: Invalid plugin factory for "/usr/lib/qt/plugins/okular/generators/okularGenerator_mobi.so":"Cannot load library /usr/lib/qt/plugins/okular/generators/okularGenerator_mobi.so: (libqmobipocket.so.2: cannot open shared object file: No such file or directory)"
bill@darkstar/almacen/Nonsoft/libros/literature$
I presently have epub support (in okular) and therefor I must have downloaded the ebook-tools package. But this package also has support for MOBI, according to https://www.archlinux.org/packages/extra/x86_64/okular/, which seems contradictory. What can I do?

Last edited by stf92; 01-07-2020 at 02:43 PM.
 
Old 01-07-2020, 02:21 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Note: Optional dependencies.
Check whether they're actually installed.
My guess, you'll need both ebook-tools and kdegraphics-mobipocket
 
Old 01-07-2020, 03:17 PM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thanks. I had already reinstalled ebook-tools and still okular could not load the MOBI file. It's weird because I think to remember I have been able to read MOBI files with okular. Something must have changed since that time (at that time I had already installed ebook-tools). And even weirder because the package (ebook-tools) says "Support for EPUB and MOBI". But I'll try to i nstall kdegraphics-mobipocket anyway.

How do I check the optional dependencies are installed. Could you tell me?

EDIT: Is "sudo pacman -S --asdeps $(pactree -l ebook-tools)" the command to install the optional dependencies after the main package has been installed?

Last edited by stf92; 01-07-2020 at 05:22 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Okular bookmarks, annotations lost for renamed PDFs, etc. (Okular 0.16.2, KDE 4.10.2) Geremia Linux - Software 6 10-22-2019 05:27 AM
Is there a way to export pdf files to mobi or epub without weird artifacts/characters linux_BSD Linux - Software 7 10-20-2012 06:01 PM
How to use BSNL Data Card(Mobi Data 0x1c9e:0xf000) in Fedora 13 jitenderpal Linux - Newbie 1 11-18-2010 10:38 PM
elsevier.nl redirected to elsevier.mobi alberda Linux - Desktop 2 09-24-2010 07:12 AM
No 3d accel. with 2.6.15-26-686, ATi Mobi. X1400 and Cedega format C: Linux - Hardware 1 08-02-2006 11:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 04:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration