[SOLVED] calibre not starting on Slacksare64 current
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am running Slackware64 and my system is up to date.
When running calibre in a terminal, I get the following error message:
Code:
steve@dataman ~ $ calibre
Traceback (most recent call last):
File "/usr/bin/calibre", line 19, in <module>
from calibre.gui_launch import calibre
File "/usr/lib64/calibre/calibre/__init__.py", line 22, in <module>
from calibre.startup import winutil, winutilerror
File "/usr/lib64/calibre/calibre/startup.py", line 151, in <module>
from calibre.utils.icu import title_case, lower as icu_lower, upper as icu_upper
File "/usr/lib64/calibre/calibre/utils/icu.py", line 28, in <module>
raise RuntimeError('Failed to load icu with error: %s' % err)
RuntimeError: Failed to load icu with error: libicudata.so.56: cannot open shared object file: No such file or directory
/usr/lib64/calibre/calibre/ptempfile.py:29: RuntimeWarning: Parent module 'calibre' not found while handling absolute import
import shutil
steve@dataman ~ $
This is what I think I have installed:
Code:
ls /var/log/packages/calibre*
/var/log/packages/calibre-3.7.0-x86_64-1alien
Does this look like a dependency problem? If so, how can I tell that? Do I find a list of dependencies somewhere or something?
I appreciate if someone can help with some clues of where to head to solve this.
I am also running 64bit slackware current and calibre; no problems loading here. But I see you are using alienBob's package while I am simply using a binary repackaging slackbuild for calibre courtesy of dugan. This might get you out of trouble short term at least...
It is complaining about missing libicudata.so.56, which is an old version of icu4c. -current is on v61.
And it looks like you're using an old version of calibre. Per Eric's changelog, this was built back in 2017, and there's been a few icu4c updates to -current since then that would break it. He's had 7 newer versions since he made 3.7.0 availble.
Code:
+--------------------------+
Tue Sep 12 13:55:02 UTC 2017
calibre: updated to 3.7.0 for Slackware 14.2 and -current.
- on 14.2: needs libinput, libwacom, libxkbcommon, podofo, qt5,
qt5-webkit and unrar.
- on current: needs libxkbcommon, podofo, qt5, qt5-webkit and unrar.
If you run into problems, you should always check to see if you have the latest version. In this case, Eric has 3.23.0 available, and that will likely fix your problem. Make sure you check the .meta files as that will contain any required dependencies for his packages. In this case, it requires:
I went looking for a list of dependencies on Calibre's website, and found that they do not recommend using the versions that come with different distributions. In stead, they say to download it directly from their website since the download is self-inclusive, i.e. containing all the dependencies as well as the program.
I did download and install that from their website, and everything is working fine now.
Thank you for helping me see the steps I missed, in making sure I had current versions of everything. I had not done that thoroughly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.