I’m a Richardson, RU?

06 Jul, 2007

Install ImageMagick & RMagick on RHEL5

Posted by: imarichardson In: Programming & Development

RailsAre you trying to get Rmagick by way of Imagemagick on you RHEL5 box. Remember to use “yum” instead of “update2″.

  1. First you’ll need to install ImageMagick
  2. Now configure, setup and make


    Note: the last command (make & make install) will take a long while to run

  3. Install the RMagick gem

Thanks to NDCHost, Cyberciti and Creativist for the help.

Blogged with Flock

Tags: , , ,

2 Responses to "Install ImageMagick & RMagick on RHEL5"

1 | grega

August 23rd, 2007 at 2:07 pm

Avatar

Great page. Thanks for the help and clarity, esp. regarding Setp #2.

But I’m curious to know what exact version of GCC and libgomp you are running ?

My step #3 is failing on a brand-new RHEL5 install, with the following revs:
gcc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52)
libgomp.x86_64 4.1.1-52.el5.2 installed
libgomp.i386 4.1.1-52.el5.2 installed

Unfortunately, step #3 and/or compile RMagick from source seems to be giving me a problem on RHEL5, seemingly due to a problem with my version of libgomp.so maybe having been compiled (by RedHat?) with a ‘nodlopen’ flag.
Running ‘gem install rmagick’ aborts with : ‘LoadError: libgomp.so.1: shared object cannot be dlopen()ed ‘. If I build RMagick.so manually and install it, I get the same exact message from within irb when running: require ‘RMagick’.
There is reference to a bug which may be related at:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28482

But I’m totally stumped as to why you seem to have NOT run into any such problems or issues when simply running:
gem install rmagick

Thanks.

2 | rogerdpack

August 16th, 2008 at 7:13 pm

Avatar

to overcome the libgomp stuff looks like you need to compile imagemagick –disable-openmp http://betterlogic.com/roger/?p=413

Comment Form

You must be logged in to post a comment.

I'mARichardson Who?

Who am I? Well, let's see: I'm a husband, father, brother, God-father, down to earth, relaxed, happy kinda guy who likes clean code, long walks on the beach, takes his laptop with him everywhere he goes, and (as I'd like to think) all around good guy!