-   Arch (
-   -   Making Okular 1.4.3 to accept the MOBI format. (

stf92 01-05-2020 11: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:

bill@darkstar/almacen/Nonsoft/libros/literature$ okular
org.kde.okular.core: Invalid plugin factory for "/usr/lib/qt/plugins/okular/generators/":"Cannot load library /usr/lib/qt/plugins/okular/generators/ ( cannot open shared object file: No such file or directory)"

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, which seems contradictory. What can I do?

ondoho 01-07-2020 03: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 04: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 11:59 AM.