# RMagick

**URL:** <https://www.ruby-forum.com/t/rmagick/161483>\
**Category:** Ruby\
**Created:** [February 26, 2009, 9:10pm UTC](https://www.ruby-forum.com/t/rmagick/161483 "2009-02-26T21:10:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rgreen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f04885/32.png) [@rgreen](https://www.ruby-forum.com/u/rgreen)\
**Post date:** [February 26, 2009, 9:10pm UTC](https://www.ruby-forum.com/t/rmagick/161483/1 "2009-02-26T21:10:50Z")

</div>

I installed the ImageMagick binary but when I try to install RMagick  
(gem) I get the foloowing error-  
/usr/local/bin/ruby extconf.rb install rmagick  
checking for Ruby version \>= 1.8.2… yes  
checking for gcc… yes  
checking for Magick-config… no  
Can’t install RMagick 2.9.1. Can’t find Magick-config in /usr/local/  
bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/  
X11/bin:/usr/local/git/bin

\*\*\* extconf.rb failed \*\*\*  
Could not create Makefile due to some reason, probably lack of  
necessary libraries and/or headers. Check the mkmf.log file for more  
details. You may need configuration options.

What do I need to do?

---

<div class="post-metadata">

**Author:** ![rgreen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f04885/32.png) [@rgreen](https://www.ruby-forum.com/u/rgreen)\
**Post date:** [April 27, 2009, 6:10pm UTC](https://www.ruby-forum.com/t/rmagick/161483/2 "2009-04-27T18:10:40Z")

</div>

Ron G. wrote:

> I installed the ImageMagick binary but when I try to install RMagick  
> (gem) I get the foloowing error-  
> /usr/local/bin/ruby extconf.rb install rmagick  
> checking for Ruby version \>= 1.8.2… yes  
> checking for gcc… yes  
> checking for Magick-config… no  
> Can’t install RMagick 2.9.1. Can’t find Magick-config in /usr/local/  
> bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/  
> X11/bin:/usr/local/git/bin
> 
> \*\*\* extconf.rb failed \*\*\*  
> Could not create Makefile due to some reason, probably lack of  
> necessary libraries and/or headers. Check the mkmf.log file for more  
> details. You may need configuration options.
> 
> What do I need to do?

I Ran into some problems with Rmagick after upgrading to Ubuntu 9.04. I  
tried to fix by reinstalling the Rmagick Gem, got the same error as  
above. I ended up installing librmagick-ruby and friends, this fixed my  
Rmagick problem,but I still can install as gem, which would be my  
prefferance.

I post here if I find solution.

---

<div class="post-metadata">

**Author:** ![rgreen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f04885/32.png) [@rgreen](https://www.ruby-forum.com/u/rgreen)\
**Post date:** [April 27, 2009, 6:23pm UTC](https://www.ruby-forum.com/t/rmagick/161483/3 "2009-04-27T18:23:48Z")

</div>

2009/4/27 Torey H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> I Ran into some problems with Rmagick after upgrading to Ubuntu 9.04. I  
> tried to fix by reinstalling the Rmagick Gem, got the same error as  
> above. I ended up installing librmagick-ruby and friends, this fixed my  
> Rmagick problem,but I still can install as gem, which would be my  
> prefferance.
> 
> I post here if I find solution.

Did you install libmagick\*-dev?

Cheers,

Serabe

---

<div class="post-metadata">

**Author:** ![rgreen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f04885/32.png) [@rgreen](https://www.ruby-forum.com/u/rgreen)\
**Post date:** [April 27, 2009, 9:25pm UTC](https://www.ruby-forum.com/t/rmagick/161483/4 "2009-04-27T21:25:34Z")

</div>

Serabe wrote:

> 2009/4/27 Torey H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):
> 
> > I Ran into some problems with Rmagick after upgrading to Ubuntu 9.04. I  
> > tried to fix by reinstalling the Rmagick Gem, got the same error as  
> > above. ï¿½I ended up installing librmagick-ruby and friends, this fixed my  
> > Rmagick problem,but I still can install as gem, which would be my  
> > prefferance.
> > 
> > I post here if I find solution.
> 
> Did you install libmagick\*-dev?
> 
> Cheers,
> 
> Serabe

I just checked and I do not have them installed, even though I thought I  
did. After installing libmagick\*-dev, I was able to install the rmagick  
gem.

Thanks,  
Torey
