# Gem Rmagick install problem on Linux

**URL:** <https://www.ruby-forum.com/t/gem-rmagick-install-problem-on-linux/96633>\
**Category:** Rails\
**Created:** [June 30, 2006, 12:13pm UTC](https://www.ruby-forum.com/t/gem-rmagick-install-problem-on-linux/96633 "2006-06-30T12:13:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![thila](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@thila](https://www.ruby-forum.com/u/thila)\
**Post date:** [June 30, 2006, 12:13pm UTC](https://www.ruby-forum.com/t/gem-rmagick-install-problem-on-linux/96633/1 "2006-06-30T12:13:12Z")

</div>

I get the following error when I try to install Rmagic (via gem) on  
Linux. Do I need to install anyting before installing rmagic? This  
worked seamlessly on windows. What the best way to install it on Linux.  
I am on RedHat ES 3. /thanks

-thila

Attempting local installation of ‘rmagick’  
Local gem file not found: rmagick\*.gem  
Attempting remote installation of ‘rmagick’  
Building native extensions. This could take a while…  
configure: error: Can’t install RMagick. Can’t find Magick-config or  
GraphicsMag  
ick-config program.  
ERROR: While executing gem … (RuntimeError)  
ERROR: Failed to build gem native extension.  
Gem files will remain installed in  
/usr/local/lib/ruby/gems/1.8/gems/rmagick-1.13.0 for inspection.  
ruby gem\_extconf.rb install rmagick\n  
sh configure

Configuring RMagick 1.13.0  
checking for gcc… gcc  
checking for C compiler default output file name… a.out  
checking whether the C compiler works… yes  
checking whether we are cross compiling… no  
checking for suffix of executables…  
checking for suffix of object files… o  
checking whether we are using the GNU C compiler… yes  
checking whether gcc accepts -g… yes  
checking for gcc option to accept ANSI C… none needed  
checking for ruby… /usr/local/bin/ruby  
checking for Magick-config… no  
checking for GraphicsMagick-config… no  
RMagick configuration failed with status 1.

---

<div class="post-metadata">

**Author:** ![thila](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@thila](https://www.ruby-forum.com/u/thila)\
**Post date:** [June 30, 2006, 4:40pm UTC](https://www.ruby-forum.com/t/gem-rmagick-install-problem-on-linux/96633/2 "2006-06-30T16:40:59Z")

</div>

thila thila wrote:

> I get the following error when I try to install Rmagic (via gem) on  
> Linux. Do I need to install anyting before installing rmagic? This  
> worked seamlessly on windows. What the best way to install it on Linux.  
> I am on RedHat ES 3. /thanks

[http://rmagick.rubyforge.org/install-faq.html](http://rmagick.rubyforge.org/install-faq.html)

---

<div class="post-metadata">

**Author:** ![thila](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@thila](https://www.ruby-forum.com/u/thila)\
**Post date:** [June 30, 2006, 4:48pm UTC](https://www.ruby-forum.com/t/gem-rmagick-install-problem-on-linux/96633/3 "2006-06-30T16:48:33Z")

</div>

thila thila wrote:

> I get the following error when I try to install Rmagic (via gem) on  
> Linux. Do I need to install anyting before installing rmagic? This  
> worked seamlessly on windows. What the best way to install it on Linux.  
> I am on RedHat ES 3. /thanks
> 
> -thila
> 
> Attempting local installation of ‘rmagick’  
> Local gem file not found: rmagick\*.gem  
> Attempting remote installation of ‘rmagick’  
> Building native extensions. This could take a while…  
> configure: error: Can’t install RMagick. Can’t find Magick-config or  
> GraphicsMag  
> ick-config program.  
> ERROR: While executing gem … (RuntimeError)  
> ERROR: Failed to build gem native extension.  
> Gem files will remain installed in  
> /usr/local/lib/ruby/gems/1.8/gems/rmagick-1.13.0 for inspection.  
> ruby gem\_extconf.rb install rmagick\n  
> sh configure
> 
> Configuring RMagick 1.13.0  
> checking for gcc… gcc  
> checking for C compiler default output file name… a.out  
> checking whether the C compiler works… yes  
> checking whether we are cross compiling… no  
> checking for suffix of executables…  
> checking for suffix of object files… o  
> checking whether we are using the GNU C compiler… yes  
> checking whether gcc accepts -g… yes  
> checking for gcc option to accept ANSI C… none needed  
> checking for ruby… /usr/local/bin/ruby  
> checking for Magick-config… no  
> checking for GraphicsMagick-config… no  
> RMagick configuration failed with status 1.

Refer to the following links for steps to install RMagick on Linux.

> **[RMagick Installation on Linux](https://saltalert.wordpress.com/2006/06/30/rmagick-installation-on-linux/)**
>
> Gem install of RMagick on Linux wont work most probably. So follow these steps (A & B) to install RMagick on Linux server if you encounter the following error message: ERROR: While executing ge…

> **[ImageMagick install problem on Linux](https://saltalert.wordpress.com/2006/06/30/imagemagick-install-problem-on-linux/)**
>
> ImageMagick is a real simple process to install. However, it depends on lot of libraries to successfully compile. This post outlines the fix if you get the following error messge: “imagmagick…

---

<div class="post-metadata">

**Author:** ![thila](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@thila](https://www.ruby-forum.com/u/thila)\
**Post date:** [June 30, 2006, 4:49pm UTC](https://www.ruby-forum.com/t/gem-rmagick-install-problem-on-linux/96633/4 "2006-06-30T16:49:14Z")

</div>

thila thila wrote:

> I get the following error when I try to install Rmagic (via gem) on  
> Linux. Do I need to install anyting before installing rmagic? This  
> worked seamlessly on windows. What the best way to install it on Linux.  
> I am on RedHat ES 3. /thanks
> 
> -thila
> 
> Attempting local installation of ‘rmagick’  
> Local gem file not found: rmagick\*.gem  
> Attempting remote installation of ‘rmagick’  
> Building native extensions. This could take a while…  
> configure: error: Can’t install RMagick. Can’t find Magick-config or  
> GraphicsMag  
> ick-config program.  
> ERROR: While executing gem … (RuntimeError)  
> ERROR: Failed to build gem native extension.  
> Gem files will remain installed in  
> /usr/local/lib/ruby/gems/1.8/gems/rmagick-1.13.0 for inspection.  
> ruby gem\_extconf.rb install rmagick\n  
> sh configure
> 
> Configuring RMagick 1.13.0  
> checking for gcc… gcc  
> checking for C compiler default output file name… a.out  
> checking whether the C compiler works… yes  
> checking whether we are cross compiling… no  
> checking for suffix of executables…  
> checking for suffix of object files… o  
> checking whether we are using the GNU C compiler… yes  
> checking whether gcc accepts -g… yes  
> checking for gcc option to accept ANSI C… none needed  
> checking for ruby… /usr/local/bin/ruby  
> checking for Magick-config… no  
> checking for GraphicsMagick-config… no  
> RMagick configuration failed with status 1.

Refer to the following links for steps to install RMagick on Linux.

> **[RMagick Installation on Linux](https://saltalert.wordpress.com/2006/06/30/rmagick-installation-on-linux/)**
>
> Gem install of RMagick on Linux wont work most probably. So follow these steps (A & B) to install RMagick on Linux server if you encounter the following error message: ERROR: While executing ge…

> **[ImageMagick install problem on Linux](https://saltalert.wordpress.com/2006/06/30/imagemagick-install-problem-on-linux/)**
>
> ImageMagick is a real simple process to install. However, it depends on lot of libraries to successfully compile. This post outlines the fix if you get the following error messge: “imagmagick…
