RMagick2.so - shared object cannot be dlopen()ed
More than a full how to it's just a self-reminder
I ran upon this problem today, I was trying to use ImageMagick(source)+RMagick(gem) and found an annoying error saying that shared object cannot be dlopen()ed referring to RMagick2.so.
Magick command line
Making story short, if you find this error in the recipe Ubuntu+ImageMagick from source+RMagick gem, you reconfigure ImageMagick with the following options:
./configure --with-png=yes --with-jpeg=yes --disable-openmp --enable-shared
After that, make && make install as usual, and then uninstall and reinstall RMagick gem. That's all.

0 comments:
Post a Comment