You are not logged in.

#1 2013-01-24 07:53:45

amatriain
Member
Registered: 2011-06-02
Posts: 49

After imagemagick upgrade, cannot install rmagick (ruby gem)

After the recent upgrade of imagemagick from 6.8.0.7-1 to 6.8.1.9-1 it's not possible to install the rmagick ruby gem. Running "gem install rmagick" throws an error "Failed to build gem native extension".

The problem has been reported in the rmagick issue tracker:

https://github.com/rmagick/rmagick/issues/60

There you can see full error traces as well as a discussion on the cause of the problem.

The root of the problem seems to be that some of the symbolic links provided by the package have changed name. Specifically, these links are no longer in the package:

libMagickCore.so
libMagick++.so
libMagickWand.so

They've been instead been renamed to:

libMagickCore-Q16.so
libMagick++-Q16.so
libMagickWand-Q16.so

I'm not sure of the reason for the change. I think the simplest solution would be if the package provided links with the old names pointing to the correct .so files.

Would there be any problem with this? Should I submit it as an arch or upstream bug? (I'm not sure if this sould be considered a packaging issue).

Offline

#2 2013-01-24 08:59:51

foutrelis
Developer/TU
From: Athens, Greece
Registered: 2008-07-28
Posts: 674
Website

Re: After imagemagick upgrade, cannot install rmagick (ruby gem)

Upstream (rmagick) needs to improve their imagemagick detection routines.

At one point they seem to be using the correct way to find the library name (i.e. through Magick-config), but then they perform useless checks using hardcoded library names:

checking for InitializeMagick() in -lMagickCore... no
checking for InitializeMagick() in -lMagick... no
checking for InitializeMagick() in -lMagick++... no

Offline

#3 2013-01-30 13:50:25

ncopa
Member
Registered: 2008-06-20
Posts: 12

Re: After imagemagick upgrade, cannot install rmagick (ruby gem)

It should use pkg-config

Offline

Board footer

Powered by FluxBB