LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   Making Okular 1.4.3 to accept the MOBI format. (https://www.linuxquestions.org/questions/arch-29/making-okular-1-4-3-to-accept-the-mobi-format-4175667135/)

stf92 01-05-2020 10:55 AM

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?

ondoho 01-07-2020 02:21 PM

Note: Optional dependencies.
Check whether they're actually installed.
My guess, you'll need both ebook-tools and kdegraphics-mobipocket

stf92 01-07-2020 03:17 PM

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?


All times are GMT -5. The time now is 09:54 PM.