LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-30-2018, 06:49 PM   #1
smitchel1099
LQ Newbie
 
Registered: Dec 2007
Posts: 15

Rep: Reputation: 0
calibre not starting on Slacksare64 current


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.
 
Old 07-30-2018, 07:50 PM   #2
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
A good place to start can be here.
https://slackbuilds.org/repository/1...search=calibre
or here.
http://www.slackware.com/~alien/slac..._64-2alien.dep
Of course some of the dependencies may have dependencies of their own ...

Last edited by Gordie; 07-30-2018 at 07:55 PM.
 
1 members found this post helpful.
Old 07-30-2018, 10:15 PM   #3
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
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...

Last edited by andrew.46; 07-31-2018 at 04:16 AM.
 
Old 07-31-2018, 12:02 AM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
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:

Code:
PyQt5,libinput,libxkbcommon,libwacom,podofo,qt5,qt5-webkit,unrar

Last edited by bassmadrigal; 07-31-2018 at 12:04 AM.
 
Old 07-31-2018, 03:11 AM   #5
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
An option to get most of those packages is to use http://www.slakfinder.org/slackpkg+.html
and alienbob repository: http://slakfinder.org/slackpkg+/src/repositories.txt
 
Old 08-01-2018, 02:24 PM   #6
smitchel1099
LQ Newbie
 
Registered: Dec 2007
Posts: 15

Original Poster
Rep: Reputation: 0
Thank you.

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.
 
  


Reply

Tags
calibre, slackware64 current



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
Steam not starting on -current jla1 Slackware 1 09-06-2016 11:00 PM
cgmanager not starting -current Richard Cranium Slackware 25 05-27-2016 02:25 AM
LXer: Search and Read Books from Calibre's Library in Ubuntu 13.10 with Unity Calibre Scope LXer Syndicated Linux News 0 11-22-2013 08:12 PM
[SOLVED] calibre AlienBob's package doesn't run anymore on -current cendryon Slackware 7 06-22-2012 02:36 AM
[SOLVED] Slackware64-current (16/1/2011) - KDE not starting samac Slackware 3 01-16-2011 04:46 PM

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

All times are GMT -5. The time now is 03:03 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