LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 11:55 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,383

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 03:43 PM.
 
Old 01-07-2020, 03:21 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 16,620
Blog Entries: 10

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

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 06:22 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06: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 07:01 PM
How to use BSNL Data Card(Mobi Data 0x1c9e:0xf000) in Fedora 13 jitenderpal Linux - Newbie 1 11-18-2010 11:38 PM
elsevier.nl redirected to elsevier.mobi alberda Linux - Desktop 2 09-24-2010 08:12 AM
No 3d accel. with 2.6.15-26-686, ATi Mobi. X1400 and Cedega format C: Linux - Hardware 1 08-03-2006 12:08 AM

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

All times are GMT -5. The time now is 03:21 PM.

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