# Problem while installing RMagick on Mac OS X

**URL:** <https://www.ruby-forum.com/t/problem-while-installing-rmagick-on-mac-os-x/77302>\
**Category:** Ruby\
**Created:** [November 26, 2006, 2:10pm UTC](https://www.ruby-forum.com/t/problem-while-installing-rmagick-on-mac-os-x/77302 "2006-11-26T14:10:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![laurent](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ce7236/32.png) [@laurent](https://www.ruby-forum.com/u/laurent)\
**Post date:** [November 26, 2006, 2:10pm UTC](https://www.ruby-forum.com/t/problem-while-installing-rmagick-on-mac-os-x/77302/1 "2006-11-26T14:10:44Z")

</div>

Hi,  
I’ve got a problem when installing RMagick from the source.

I’m working on Mac OS X (Intel) 10.4.8

I’ve installed ImageMagick (and dependencies) Release 6.3.0-6

Here are the steps for installing RMagick

mkdir delete\_later  
cd delete\_later  
curl -O [http://rubyforge.rubyuser.de/rmagick/RMagick-1.14.1.tar.gz](http://rubyforge.rubyuser.de/rmagick/RMagick-1.14.1.tar.gz)  
tar xvf RMagick-1.14.1.tar.gz  
cd RMagick-1.14.1  
./configure

Here message OK:  
This installation of RMagick 1.14.1 is configured for  
ruby 1.8.2 (2004-12-25) [universal-darwin8.0] and ImageMagick 6.3.0

Then the command make , gives me during the process:

\_rb\_to\_id  
\_rb\_ull2inum  
collect2: ld returned 1 exit status  
make[1]: \*\*\* [RMagick.bundle] Error 1  
setup.rb:655:in `command': system("make") failed (RuntimeError) from setup.rb:664:in `make’  
from setup.rb:1258:in `setup_dir_ext' from setup.rb:1532:in ` **send** ’  
from setup.rb:1532:in `traverse' from setup.rb:1530:in `dive\_into’  
from setup.rb:1530:in `traverse' from setup.rb:1534:in `traverse’  
from setup.rb:1533:in `each' ... 8 levels... from setup.rb:826:in ` **send** ’  
from setup.rb:826:in `invoke' from setup.rb:772:in `invoke’  
from setup.rb:1578  
make: \*\*\* [all] Error 1

I tried before to simply install RMagick via gem RMagick…

But when testing using this Ruby script :  
require ‘RMagick’

include Magick

def make\_thumb(org, thumb)

cat = ImageList.new(org)  
thm = cat.thumbnail(80,80)  
thm.write thumb

end

make\_thumb(“my.jpg”, “thumb.jpg”)

I get the error:

test/unit/rmagick\_test.rb:1:in `require’: No such file to load –  
RMagick (LoadError)  
from test/unit/rmagick\_test.rb:1

Thanks for your help

---

<div class="post-metadata">

**Author:** ![laurent](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ce7236/32.png) [@laurent](https://www.ruby-forum.com/u/laurent)\
**Post date:** [November 26, 2006, 4:40pm UTC](https://www.ruby-forum.com/t/problem-while-installing-rmagick-on-mac-os-x/77302/2 "2006-11-26T16:40:55Z")

</div>

Laurent wrote:

> cd delete\_later
> 
> from setup.rb:1530:in `traverse' from setup.rb:1534:in `traverse’  
> from setup.rb:1533:in `each' ... 8 levels... from setup.rb:826:in ` **send** ’  
> from setup.rb:826:in `invoke' from setup.rb:772:in `invoke’  
> from setup.rb:1578  
> make: \*\*\* [all] Error 1

It looks like you’re using the version of Ruby that comes preinstalled  
with OS X. This version is nearly 2 years old and was built incorrectly  
by Apple. I recommend upgrading to Ruby 1.8.5 and then installing  
RMagick. Ruby is an easy install. See  
[Download Ruby](http://www.ruby-lang.org/en/downloads/) for the source tarball. I also  
see there’s a MacPorts port for ruby 1.8.5, although I haven’t tried it  
myself.

If you continue to have problems installing RMagick you can always ask  
questions on the RMagick help forum on RubyForge:  
[http://rubyforge.org/forum/?group\_id=12](http://rubyforge.org/forum/?group_id=12).

---

<div class="post-metadata">

**Author:** ![laurent](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ce7236/32.png) [@laurent](https://www.ruby-forum.com/u/laurent)\
**Post date:** [November 26, 2006, 5:30pm UTC](https://www.ruby-forum.com/t/problem-while-installing-rmagick-on-mac-os-x/77302/3 "2006-11-26T17:30:58Z")

</div>

Hi Tim,

Thanks…in fact i dropped the same message on the RubyForge RMagick  
forum, below your post for 1.14.1 release 😉

Ok i will try Ruby 1.8.5 then recompile all the stuff for RMagick and  
give you some feedback

Regards

Laurent

---

<div class="post-metadata">

**Author:** ![laurent](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ce7236/32.png) [@laurent](https://www.ruby-forum.com/u/laurent)\
**Post date:** [November 26, 2006, 7:17pm UTC](https://www.ruby-forum.com/t/problem-while-installing-rmagick-on-mac-os-x/77302/4 "2006-11-26T19:17:09Z")

</div>

Laurent wrote:

> Laurent

Hmm…i see your post now. I get an email copy of everything that’s  
posted to the help and open-discussion forums but not for the forum you  
posted to, so I didn’t see it. I’m sorry I missed it. I’ll have to see  
if there’s some way I get emailed for that forum as well.

Let me know how things go.

---

<div class="post-metadata">

**Author:** ![laurent](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ce7236/32.png) [@laurent](https://www.ruby-forum.com/u/laurent)\
**Post date:** [November 26, 2006, 11:32pm UTC](https://www.ruby-forum.com/t/problem-while-installing-rmagick-on-mac-os-x/77302/5 "2006-11-26T23:32:00Z")

</div>

Everything is fine now…ruby 1.8.5, ImageMagick and RMagick work fine

I should have upgraded to 1.8.5 earlier

Thanks for your help

I post the steps on my blog (in french(:  
[http://jurassicgeek.blogspot.com/](http://jurassicgeek.blogspot.com/)

Laurent  
Timothy H. a écrit :
