Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 403429

Summary: media-gfx/imagemagick-6.7.5.3 - libraries to be installed are linked against installed libMagickCore.so
Product: Gentoo Linux Reporter: R Stephan <ralf>
Component: Current packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: stdout from installation attempt
cave info

Description R Stephan 2012-02-13 16:14:23 UTC
Created attachment 301787 [details]
stdout from installation attempt

Newest calibre does not check for libMagickCore shared lib major version number, and fails in the linking phase: previously, I have upgraded imagemagick to 6.7.5.3

Compile log is attached.
Comment 1 R Stephan 2012-02-13 16:18:03 UTC
Created attachment 301789 [details]
cave info
Comment 2 R Stephan 2012-02-13 16:32:53 UTC
As confirmation, calibre-0.8.39 compiles and installs fine on a system with imagemagick-6.7.1.0
Comment 3 Rafał Mużyło 2012-02-13 19:04:42 UTC
Unless I'm missing something, the answer likely is "revdep-rebuild is your friend".
Comment 4 R Stephan 2012-02-14 08:21:17 UTC
How does revdep-rebuild affect a package that fails to install per se?
Comment 5 Rafał Mużyło 2012-02-14 19:00:59 UTC
(In reply to comment #4)
> How does revdep-rebuild affect a package that fails to install per se?

Well, it may affect one of the installed *dependencies*.
However, I've been recently reminded about bug 391251 (one that I filed and forgot about). See, if that's not your problem too.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-14 19:06:41 UTC
The problem is in imagemagick, not calibre, because some libraries and executables get linked against the installed version (with SONAME=4) which then gets removed. The workaround is to install the same media-gfx/imagemagick version twice. The solution is up to its maintainers.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-14 19:44:02 UTC

*** This bug has been marked as a duplicate of bug 391251 ***
Comment 8 Piotr 2012-02-20 23:53:40 UTC
How to overcome this bug and successfully install calibre?
Comment 9 R Stephan 2012-02-24 10:13:10 UTC
(In reply to comment #8)
> How to overcome this bug and successfully install calibre?

Either recompile, or even better, compile calibre-0.8.40 which doesn't have that problem anymore