LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 05-05-2012, 07:07 PM   #1
Hyonane
LQ Newbie
 
Registered: Sep 2011
Location: Brazil
Distribution: Slackware64-current+multilib
Posts: 28

Rep: Reputation: Disabled
Calibre RuntimeError


Im back to Slack and using a fresh slackware-current, but my Calibre not working:

Traceback (most recent call last):
File "/usr/bin/calibre", line 18, in <module>
from calibre.gui2.main import main
File "/usr/lib/calibre/calibre/gui2/main.py", line 18, in <module>
from calibre.library.database2 import LibraryDatabase2
File "/usr/lib/calibre/calibre/library/database2.py", line 39, in <module>
from calibre.utils.magick.draw import save_cover_data_to
File "/usr/lib/calibre/calibre/utils/magick/__init__.py", line 15, in <module>
raise RuntimeError('Failed to load ImageMagick: '+_merr)
RuntimeError: Failed to load ImageMagick: libMagickWand.so.4: cannot open shared object file: No such file or directory


Its AlienBob's package and i know hes always around and im sure he will see this post, but im open to any idea. Im the only one having this problem? I saw something in the log like "fixed some internal libraries" after the 0.8.49 but i still have the same problem with the newest 0.8.50.
 
Old 05-05-2012, 07:11 PM   #2
Hyonane
LQ Newbie
 
Registered: Sep 2011
Location: Brazil
Distribution: Slackware64-current+multilib
Posts: 28

Original Poster
Rep: Reputation: Disabled
I just checked all my packages integrity ( calibre,podofo,icu4c ) and also the ImageMagick package that the logs complain about and they all look fine
 
Old 05-05-2012, 07:24 PM   #3
escaflown
Member
 
Registered: May 2009
Location: Canada
Distribution: Slackware
Posts: 237

Rep: Reputation: 30
Quote:
Originally Posted by Hyonane View Post
I just checked all my packages integrity ( calibre,podofo,icu4c ) and also the ImageMagick package that the logs complain about and they all look fine
You have to create symlinks for this to work. The libmagick version in -current has been upgraded recently:
This is a comment from Eric on his blog about how to fix the issue:

Quote:
Hi escaflown

Unless you want to add imagemagick as static dependency into the package, you can do a simple hack which was enough to get Calibre running (no idea if it affects its functionality or stability):

( cd /usr/lib64 ; ln -s libMagickWand.so.5 libMagickWand.so.4 ; ln -s libMagickCore.so.5 libMagickCore.so.4 )

Of course, you can always recompile the Calibre package yourself on Slackware-current which will also get rid of the library version conflict.

Eric
 
Old 05-05-2012, 07:27 PM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,594

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
don't forget to update cssutils, PyQt and sip if you are compiling yourself
 
Old 05-05-2012, 09:39 PM   #5
Hyonane
LQ Newbie
 
Registered: Sep 2011
Location: Brazil
Distribution: Slackware64-current+multilib
Posts: 28

Original Poster
Rep: Reputation: Disabled
i digged around alien pastures but found nothing...will do that now...one min
 
Old 05-05-2012, 09:46 PM   #6
Hyonane
LQ Newbie
 
Registered: Sep 2011
Location: Brazil
Distribution: Slackware64-current+multilib
Posts: 28

Original Poster
Rep: Reputation: Disabled
k, linked libMagickCore.so.5 and libMagickWand.so.5 to older version,4. Calibre is working now. Cant say if its perfect. Will report if i see something wrong.

Thx.
 
  


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
[SOLVED] Calibre 0.8.18 interndan Slackware 19 10-01-2011 03:33 PM
LibreOffice Writer and Calibre and EPUB format SaintDanBert Linux - Software 3 06-06-2011 05:59 PM
LXer: Creating and Reading eBooks on Linux with Calibre LXer Syndicated Linux News 0 12-17-2010 07:40 AM
LXer: Calibre 0.6: Zusätzliche E-Book-Formate LXer Syndicated Linux News 0 07-28-2009 04:30 PM
Unable to complete install 'exceptions.RuntimeError Invalid install location jimmyjiang Red Hat 1 10-21-2008 12:32 PM


All times are GMT -5. The time now is 10:38 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration