Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-05-2012, 06:07 PM
|
#1
|
|
LQ Newbie
Registered: Sep 2011
Posts: 25
Rep: 
|
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.
|
|
|
|
05-05-2012, 06:11 PM
|
#2
|
|
LQ Newbie
Registered: Sep 2011
Posts: 25
Original Poster
Rep: 
|
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
|
|
|
|
05-05-2012, 06:24 PM
|
#3
|
|
Member
Registered: Apr 2009
Location: Canada
Distribution: Slackware
Posts: 234
Rep:
|
Quote:
Originally Posted by Hyonane
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
|
|
|
|
|
05-05-2012, 06:27 PM
|
#4
|
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 1,858
|
don't forget to update cssutils, PyQt and sip if you are compiling yourself 
|
|
|
|
05-05-2012, 08:39 PM
|
#5
|
|
LQ Newbie
Registered: Sep 2011
Posts: 25
Original Poster
Rep: 
|
i digged around alien pastures but found nothing...will do that now...one min
|
|
|
|
05-05-2012, 08:46 PM
|
#6
|
|
LQ Newbie
Registered: Sep 2011
Posts: 25
Original Poster
Rep: 
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:25 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|