<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>OnRails.org: RMagick (from source) on Snow Leopard</title>
    <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Ruby On Rails and related matters.</description>
    <item>
      <title>RMagick (from source) on Snow Leopard</title>
      <description>&lt;p&gt;After the release of 10.5, I published an article about &lt;a href="http://onrails.org/articles/2007/11/03/installing-rmagick-on-leopard-without-macports-or-fink"&gt;building RMagick from source on Leopard&lt;/a&gt;.  I won&amp;#8217;t rehash the why, you can read the original article for that.  My clean install necessitated updating the RMagick script, so here&amp;#8217;s what worked for me to install from source on Snow Leopard!  For the impatient, here&amp;#8217;s the download link:  &lt;a href="http://onrails.org/files/rmagick-build.sh"&gt;rmagick-build.sh&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;First, we start with installing &lt;code&gt;wget&lt;/code&gt;, as it seems to be a bit more clever than &lt;code&gt;curl&lt;/code&gt; about dealing with mirrors, etc.  Then, we compile and install each prerequisite package.  Finally, we install the gem.&lt;/p&gt;


	&lt;p&gt;All the links in the script worked for me, but, depending on your location, network, conditions, etc, your mileage may vary.  Enjoy!&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;#!/bin/sh

# install wget, which is cleverer than curl
curl -O http://ftp.gnu.org/gnu/wget/wget-1.11.tar.gz
tar zxvf wget-1.11.tar.gz 
cd wget-1.11
./configure --prefix=/usr/local
make
sudo make install
cd /usr/local/src

# prerequisite packages
wget http://nongnu.askapache.com/freetype/freetype-2.3.9.tar.gz
tar zxvf freetype-2.3.9.tar.gz
cd freetype-2.3.9
./configure --prefix=/usr/local
make
sudo make install
cd /usr/local/src

wget http://superb-west.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.39.tar.gz
tar zxvf libpng-1.2.39.tar.gz
cd libpng-1.2.39
./configure --prefix=/usr/local
make
sudo make install
cd /usr/local/src

wget ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
tar xzvf jpegsrc.v6b.tar.gz
cd jpeg-6b
ln -s `which glibtool` ./libtool
export MACOSX_DEPLOYMENT_TARGET=10.6
./configure --enable-shared --prefix=/usr/local
make
sudo make install
cd /usr/local/src

wget ftp://ftp.remotesensing.org/libtiff/tiff-3.9.1.tar.gz
tar xzvf tiff-3.9.1.tar.gz
cd tiff-3.9.1
./configure --prefix=/usr/local
make
sudo make install
cd /usr/local/src

wget http://superb-west.dl.sourceforge.net/sourceforge/wvware/libwmf-0.2.8.4.tar.gz
tar xzvf libwmf-0.2.8.4.tar.gz
cd libwmf-0.2.8.4
make clean
./configure
make
sudo make install
cd /usr/local/src

wget http://www.littlecms.com/lcms-1.17.tar.gz
tar xzvf lcms-1.17.tar.gz
cd lcms-1.17
make clean
./configure
make
sudo make install
cd /usr/local/src

wget ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs870/ghostscript-8.70.tar.gz
tar zxvf ghostscript-8.70.tar.gz
cd ghostscript-8.70
./configure  --prefix=/usr/local
make
sudo make install
cd /usr/local/src

wget ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs860/ghostscript-fonts-std-8.11.tar.gz
tar zxvf ghostscript-fonts-std-8.11.tar.gz
sudo mv fonts /usr/local/share/ghostscript

# Image Magick
wget ftp://ftp.fifi.org/pub/ImageMagick/ImageMagick.tar.gz
tar xzvf ImageMagick.tar.gz
cd `ls | grep ImageMagick-`
export CPPFLAGS=-I/usr/local/include
export LDFLAGS=-L/usr/local/lib
./configure --prefix=/usr/local --disable-static --with-modules --without-perl --without-magick-plus-plus --with-quantum-depth=8 --with-gs-font-dir=/usr/local/share/ghostscript/fonts --disable-openmp
make
sudo make install
cd /usr/local/src

# RMagick
sudo gem install rmagick&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;&lt;b style="color:red"&gt;&lt;span class="caps"&gt;UPDATE&lt;/span&gt;&lt;/b&gt; There is a bug with libgomp that breaks the &lt;code&gt;convert&lt;/code&gt; utility (See comments below).  the &lt;code&gt;--disable-openmp&lt;/code&gt; configure option has been added to the script to fix this.&lt;/p&gt;


	&lt;p&gt;&lt;b style="color:red"&gt;&lt;span class="caps"&gt;UPDATE 2&lt;/span&gt;&lt;/b&gt; A new patchlevel of ImageMagick has been released that supersedes the original one referenced in this script, and the original has been removed from the server.  Thanks to Sebastian for this update that will grab the latest release.&lt;/p&gt;</description>
      <pubDate>Fri, 04 Sep 2009 00:31:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:08ef5102-472b-4108-9999-19810cf12917</guid>
      <author>Solomon White</author>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard</link>
      <category>Ruby</category>
      <category>Rails Tips</category>
      <category>Ruby On Rails</category>
      <category>Source</category>
      <category>leopard</category>
      <category>snow</category>
      <category>rmagick</category>
      <trackback:ping>http://www.onrails.org/articles/trackback/4780</trackback:ping>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by Nico</title>
      <description>&lt;p&gt;My jpeg issue is fixed now. There was an older version of the jpeg lib from Mac Ports which needed to be removed before running the Image Magick install script.&lt;/p&gt;</description>
      <pubDate>Mon, 02 Nov 2009 12:12:14 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:5265e556-f60d-486a-b934-214da1986d4a</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4866</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by Nico</title>
      <description>&lt;p&gt;Oh, and some (spinner) feedback when submitting a comment on this blog would be useful! Like others here I accidentally submitted my post twice, as there was no indication that anything happened after I pressed the submit button&amp;#8230;&lt;/p&gt;</description>
      <pubDate>Mon, 02 Nov 2009 08:36:22 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:ed22d128-c7b8-4ae9-aa6c-1c30922128de</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4865</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by Nico</title>
      <description>&lt;p&gt;Hi,&lt;/p&gt;


	&lt;p&gt;I installed ImageMagick with this script here because it seemed the most up to date one: &lt;a href="http://github.com/masterkain/ImageMagick-sl"&gt;http://github.com/masterkain/ImageMagick-sl&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;I get the following error in some ImageMagick commands:&lt;/p&gt;


	&lt;p&gt;Magick::ImageMagickError: Wrong JPEG library version: library is 70, caller expects 62 `&amp;#8217; @ jpeg.c/EmitMessage/232&lt;/p&gt;


	&lt;p&gt;Can anybody advice? What do I need to do?&lt;/p&gt;</description>
      <pubDate>Mon, 02 Nov 2009 08:34:37 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:6dbe052b-5123-4df5-ae53-5dc5a0b4ec24</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4863</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by gordon</title>
      <description>&lt;p&gt;right, I answered my own question LOL
&lt;a href="http://rb-rmagick.darwinports.com/"&gt;http://rb-rmagick.darwinports.com/&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 27 Oct 2009 21:29:01 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:d411e2eb-7717-44af-a39b-ae3b629fd9f2</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4834</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by gordon</title>
      <description>&lt;p&gt;hi there
I had to install ImageMagick a few different times as i had problems doing so and refered to different sources/tutes on the web for installing imagemagick on snow leopard.&lt;/p&gt;
	&lt;pre&gt;&lt;code&gt;Now, I seem to get an error message (below) indicating that there's more than one instance of image magick installed and magicwand cant be installed.&lt;/code&gt;&lt;/pre&gt;


	&lt;pre&gt;&lt;code&gt;help !! :(&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
checking for Ruby version &amp;gt;= 1.8.5&amp;#8230; yes
checking for gcc&amp;#8230; yes
checking for Magick-config&amp;#8230; yes&lt;/p&gt;


	&lt;p&gt;Warning: Found more than one ImageMagick installation. This could cause problems at runtime.
         /usr/bin/imagemagick/bin/Magick-config reports version 6.5.5 Q16 is installed in /ImageMagick-6.5.5
         /opt/local/bin/Magick-config reports version 6.5.7 Q8 is installed in /opt/local
         /sw/bin/Magick-config reports version 6.5.7 Q16 is installed in /sw
         /usr/bin/ImageMagick-6.4.8/bin/Magick-config reports version 6.4.8 Q16 is installed in 
         /usr/local/bin/Magick-config reports version 6.5.7 Q8 is installed in /usr/local
Using 6.5.5 Q16 from /ImageMagick-6.5.5.&lt;/p&gt;


	&lt;p&gt;checking for ImageMagick version &amp;gt;= 6.3.5&amp;#8230; yes
checking for HDRI disabled version of ImageMagick&amp;#8230; yes
checking for stdint.h&amp;#8230; yes
checking for sys/types.h&amp;#8230; yes
checking for wand/MagickWand.h&amp;#8230; no&lt;/p&gt;


Can&amp;#8217;t install RMagick 2.12.2. Can&amp;#8217;t find MagickWand.h.
	&lt;ul&gt;
	&lt;li&gt;extconf.rb failed &lt;strong&gt;*&lt;/strong&gt;
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.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;Provided configuration options:
   &amp;#8212;with-opt-dir
   &amp;#8212;without-opt-dir
   &amp;#8212;with-opt-include
   &amp;#8212;without-opt-include=${opt-dir}/include
   &amp;#8212;with-opt-lib
   &amp;#8212;without-opt-lib=${opt-dir}/lib
   &amp;#8212;with-make-prog
   &amp;#8212;without-make-prog
   &amp;#8212;srcdir=.
   &amp;#8212;curdir
   &amp;#8212;ruby=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby&lt;/p&gt;


	&lt;p&gt;Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/rmagick-2.12.2 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/rmagick-2.12.2/ext/RMagick/gem_make.out&lt;/p&gt;</description>
      <pubDate>Tue, 27 Oct 2009 20:07:28 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:57269468-c95f-4206-bbea-8163f06b0815</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4833</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by Mark</title>
      <description>&lt;p&gt;Mirco, I was getting the same error. I manually downloaded and installed the Image Magic Library. Basically ran the commands from #Image Magic down manually on my server. That seemed to fix it.&lt;/p&gt;</description>
      <pubDate>Fri, 23 Oct 2009 15:20:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:e8fc4481-bf2c-4925-9d77-29da16bd72d5</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4823</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by mirco</title>
      <description>&lt;p&gt;hi, on the last step, installing the rmagick gem i have this error:&lt;/p&gt;


&lt;pre&gt;

Building native extensions.  This could take a while...
ERROR:  Error installing rmagick:
    ERROR: Failed to build gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
checking for Ruby version &amp;gt;= 1.8.5... yes
checking for gcc... yes
checking for Magick-config... yes
checking for ImageMagick version &amp;gt;= 6.3.5... yes
checking for HDRI disabled version of ImageMagick... yes
checking for stdint.h... yes
checking for sys/types.h... yes
checking for wand/MagickWand.h... yes
checking for InitializeMagick() in -lMagickCore... no
checking for InitializeMagick() in -lMagick... no
Can't install RMagick 2.12.2. Can't find the ImageMagick library or one of the dependent libraries. Check the mkmf.log file for more detailed information.

*** 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.

Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
    --with-MagickCorelib
    --without-MagickCorelib
    --with-Magicklib
    --without-Magicklib

Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/rmagick-2.12.2 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/rmagick-2.12.2/ext/RMagick/gem_make.out

&lt;/pre&gt;

	&lt;p&gt;how i can resolve the problem?
i doing to install a newer version of ruby?
thanks&lt;/p&gt;</description>
      <pubDate>Mon, 12 Oct 2009 13:09:09 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:7db57b7d-3e1c-478e-b4d9-152fbbbe7e22</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4817</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by mirco</title>
      <description>&lt;p&gt;hi, on the last step, installing the rmagick gem i have this error:&lt;/p&gt;


&lt;pre&gt;

Building native extensions.  This could take a while...
ERROR:  Error installing rmagick:
    ERROR: Failed to build gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
checking for Ruby version &amp;gt;= 1.8.5... yes
checking for gcc... yes
checking for Magick-config... yes
checking for ImageMagick version &amp;gt;= 6.3.5... yes
checking for HDRI disabled version of ImageMagick... yes
checking for stdint.h... yes
checking for sys/types.h... yes
checking for wand/MagickWand.h... yes
checking for InitializeMagick() in -lMagickCore... no
checking for InitializeMagick() in -lMagick... no
Can't install RMagick 2.12.2. Can't find the ImageMagick library or one of the dependent libraries. Check the mkmf.log file for more detailed information.

*** 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.

Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
    --with-MagickCorelib
    --without-MagickCorelib
    --with-Magicklib
    --without-Magicklib

Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/rmagick-2.12.2 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/rmagick-2.12.2/ext/RMagick/gem_make.out

&lt;/pre&gt;

	&lt;p&gt;how i can resolve the problem?
i doing to install a newer version of ruby?
thanks&lt;/p&gt;</description>
      <pubDate>Mon, 12 Oct 2009 13:08:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:19a3beff-8214-4327-8470-610701299fef</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4816</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by Th</title>
      <description>&lt;p&gt;I get this error when use ImageMack.
Please help me, thanks !&lt;/p&gt;


	&lt;p&gt;irb(main):002:0&amp;gt; require &amp;#8216;rmagick&amp;#8217;
LoadError: dlopen(/usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/RMagick2.bundle, 9): no suitable image found.  Did find:
    /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/RMagick2.bundle: mach-o, but wrong architecture &amp;#8211; /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/RMagick2.bundle
    from /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/RMagick2.bundle
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require&amp;#8217;
    from /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/rmagick.rb:11
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require&amp;#8217;
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require&amp;#8217;&lt;/p&gt;</description>
      <pubDate>Fri, 02 Oct 2009 09:47:24 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:485dc405-a886-41b5-8770-73cf32e64515</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4813</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by Th</title>
      <description>&lt;p&gt;I get this error when use ImageMack.
Please help me, thanks !&lt;/p&gt;


	&lt;p&gt;irb(main):002:0&amp;gt; require &amp;#8216;rmagick&amp;#8217;
LoadError: dlopen(/usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/RMagick2.bundle, 9): no suitable image found.  Did find:
    /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/RMagick2.bundle: mach-o, but wrong architecture &amp;#8211; /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/RMagick2.bundle
    from /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/RMagick2.bundle
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require&amp;#8217;
    from /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/rmagick.rb:11
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require&amp;#8217;
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require&amp;#8217;&lt;/p&gt;</description>
      <pubDate>Fri, 02 Oct 2009 09:47:22 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:ee2b9e4f-7f86-4078-86b9-a9a341b34894</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4811</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by Th</title>
      <description>&lt;p&gt;I get this error when use ImageMack.
Please help me, thanks !&lt;/p&gt;


	&lt;p&gt;irb(main):002:0&amp;gt; require &amp;#8216;rmagick&amp;#8217;
LoadError: dlopen(/usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/RMagick2.bundle, 9): no suitable image found.  Did find:
    /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/RMagick2.bundle: mach-o, but wrong architecture &amp;#8211; /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/RMagick2.bundle
    from /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/RMagick2.bundle
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require&amp;#8217;
    from /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/rmagick.rb:11
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require&amp;#8217;
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require&amp;#8217;&lt;/p&gt;</description>
      <pubDate>Fri, 02 Oct 2009 09:47:23 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:49db6fee-dfe6-49d1-a533-e8e08d18bc42</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4812</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by Th</title>
      <description>&lt;p&gt;I get this error when use ImageMack.
Please help me, thanks !&lt;/p&gt;


	&lt;p&gt;irb(main):002:0&amp;gt; require &amp;#8216;rmagick&amp;#8217;
LoadError: dlopen(/usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/RMagick2.bundle, 9): no suitable image found.  Did find:
    /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/RMagick2.bundle: mach-o, but wrong architecture &amp;#8211; /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/RMagick2.bundle
    from /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/RMagick2.bundle
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require&amp;#8217;
    from /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/rmagick.rb:11
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require&amp;#8217;
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require&amp;#8217;&lt;/p&gt;</description>
      <pubDate>Fri, 02 Oct 2009 09:47:21 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:5676e845-9954-4b2b-a5f2-fdfda2bc0d68</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4810</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by Th</title>
      <description>&lt;p&gt;I get this error when use ImageMack.
Please help me, thanks !&lt;/p&gt;


	&lt;p&gt;irb(main):002:0&amp;gt; require &amp;#8216;rmagick&amp;#8217;
LoadError: dlopen(/usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/RMagick2.bundle, 9): no suitable image found.  Did find:
    /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/RMagick2.bundle: mach-o, but wrong architecture &amp;#8211; /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/RMagick2.bundle
    from /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/RMagick2.bundle
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require&amp;#8217;
    from /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/rmagick.rb:11
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require&amp;#8217;
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require&amp;#8217;&lt;/p&gt;</description>
      <pubDate>Fri, 02 Oct 2009 09:47:03 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:a69dc363-a724-49bd-a185-c6ecd172a44c</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4809</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by Tyler</title>
      <description>&lt;p&gt;I&amp;#8217;m getting an error during the ImageMagick make command:&lt;/p&gt;


	&lt;p&gt;ld: symbol(s) not found
collect2: ld returned 1 exit status
make&lt;a href="#fn1"&gt;1&lt;/a&gt;: &lt;b&gt;* [magick/libMagickCore.la] Error 1
make: *&lt;/b&gt; [all] Error 2&lt;/p&gt;


	&lt;p&gt;Any ideas?&lt;/p&gt;</description>
      <pubDate>Thu, 01 Oct 2009 04:45:35 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:305e4265-349d-4e25-983e-6186779bcc78</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4808</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by Tyler</title>
      <description>&lt;p&gt;I&amp;#8217;m getting an error during the ImageMagick make command:&lt;/p&gt;


	&lt;p&gt;ld: symbol(s) not found
collect2: ld returned 1 exit status
make&lt;a href="#fn1"&gt;1&lt;/a&gt;: &lt;b&gt;* [magick/libMagickCore.la] Error 1
make: *&lt;/b&gt; [all] Error 2&lt;/p&gt;


	&lt;p&gt;Any ideas?&lt;/p&gt;</description>
      <pubDate>Thu, 01 Oct 2009 04:44:55 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:2b05cf1c-5dcf-44dd-b7d9-68d06e85892f</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4807</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by martins</title>
      <description>&lt;p&gt;I´ve installed ImageMagic from src, and it seams to be ok.
E.g &amp;#8221;$ convert /Users/martin/Desktop/TriggersInRails.pdf triggers.jpg&amp;#8221; works as expected.&lt;/p&gt;


	&lt;p&gt;I´ve reinstalled the rmagick gem.&lt;/p&gt;


	&lt;p&gt;$ ruby script/server 
=&amp;gt; Booting WEBrick
=&amp;gt; Rails 2.3.4 application starting on &lt;a href="http://0.0.0.0:3000"&gt;http://0.0.0.0:3000&lt;/a&gt;
/opt/local/lib/ruby/gems/1.8/gems/rmagick-2.11.1/lib/RMagick2.bundle: [BUG] Segmentation fault
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10]&lt;/p&gt;


	&lt;p&gt;Abort trap&lt;/p&gt;


	&lt;p&gt;&amp;#8212;-&amp;#8212;-
file sais: RMagick2.bundle: Mach-O 64-bit bundle x86_64
&amp;#8212;-&amp;#8212;&amp;#8212;
Any ideas? Can I provide more info?&lt;/p&gt;</description>
      <pubDate>Wed, 30 Sep 2009 12:11:11 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:b3c1ab21-c8e3-46db-8080-a8273d8e0d0c</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4806</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by manuel</title>
      <description>&lt;p&gt;I have the similar error of &amp;#8220;mike&amp;#8221; any idea? 
thanks.&lt;/p&gt;</description>
      <pubDate>Thu, 24 Sep 2009 09:25:46 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:98edd543-03d2-4885-b1b9-e76d5dc71038</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4805</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by mike</title>
      <description>&lt;p&gt;I got this error:&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
grep: /usr/lib/libexpat.la: No such file or directory
sed: /usr/lib/libexpat.la: No such file or directory
libtool: link: `/usr/lib/libexpat.la' is not a valid libtool archive
make[1]: *** [coders/dot.la] Error 1
make: *** [all] Error 2
make  install-am
  CCLD   coders/dot.la
grep: /usr/lib/libexpat.la: No such file or directory
sed: /usr/lib/libexpat.la: No such file or directory
libtool: link: `/usr/lib/libexpat.la' is not a valid libtool archive
make[1]: *** [coders/dot.la] Error 1
make: *** [install] Error 2
./rmagick-build.sh: line 86: cd: /usr/local/src: No such file or directory
Building native extensions.  This could take a while...
ERROR:  Error installing rmagick:
    ERROR: Failed to build gem native extension.
&lt;/code&gt;&lt;/pre&gt;</description>
      <pubDate>Wed, 23 Sep 2009 23:53:51 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:a2d13233-90f7-46c7-ae98-7bd461641c3a</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4804</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by Marotte</title>
      <description>&lt;p&gt;Help!&lt;/p&gt;


	&lt;p&gt;When I require &amp;#8216;RMagick&amp;#8217;, it says &amp;#8216;no such file to load — RMagick2.so&amp;#8217;.&lt;/p&gt;


	&lt;p&gt;If I require &amp;#8216;RMagick2&amp;#8217;, then the error is &amp;#8216;this installation of RMagick was configured with ImageMagick 6.5.4 but ImageMagick 6.5.6-1 is in use.&amp;#8217;&lt;/p&gt;


	&lt;p&gt;Any idea?&lt;/p&gt;</description>
      <pubDate>Sun, 20 Sep 2009 19:10:29 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:3a40ba08-f6ae-4c1b-a3a9-0f55c3ffca7d</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4802</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by Marotte</title>
      <description>&lt;p&gt;Help!&lt;/p&gt;


	&lt;p&gt;When I require &amp;#8216;RMagick&amp;#8217;, it says &amp;#8216;no such file to load — RMagick2.so&amp;#8217;.&lt;/p&gt;


	&lt;p&gt;If I require &amp;#8216;RMagick2&amp;#8217;, then the error is &amp;#8216;this installation of RMagick was configured with ImageMagick 6.5.4 but ImageMagick 6.5.6-1 is in use.&amp;#8217;&lt;/p&gt;


	&lt;p&gt;Any idea?&lt;/p&gt;</description>
      <pubDate>Sun, 20 Sep 2009 19:08:47 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:24eaf014-9afd-4d31-958a-41ed02f11e96</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4801</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by Sebastian Morawietz</title>
      <description>&lt;p&gt;Hi,&lt;/p&gt;


	&lt;p&gt;good job, I just had two problems:&lt;/p&gt;


	&lt;p&gt;1. It assumes the directory /usr/local/src to be present, which wasn&amp;#8217;t on my MBP&lt;/p&gt;


	&lt;p&gt;2. On Sept 13, 2009 a new patchlevel-version of  ImageMagick was put on the server (10), deleting the referenced one (5).
I modified the script, so that it wgets the version linked as ImageMagick.tar.gz and after untarring chdirs into whatever directory starts with ImageMagick-&lt;/p&gt;


	&lt;p&gt;Maybe this solves the problem for some of you. (Replace Lines 78-80 with the following)&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;wget ftp://ftp.fifi.org/pub/ImageMagick/ImageMagick.tar.gz
tar xzvf ImageMagick.tar.gz
cd `ls | grep ImageMagick-`&lt;/code&gt;&lt;/pre&gt;</description>
      <pubDate>Tue, 15 Sep 2009 09:47:51 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:0a4a7e3d-f21c-41cd-a6b3-3ac865c56a79</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4800</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by Bijan</title>
      <description>&lt;p&gt;Thx a lot :)
I already used your script for 10.5 and now I&amp;#8217;m using this one again for SL!
Kudos to you Solomon! Everything worked gr8 ;)&lt;/p&gt;</description>
      <pubDate>Sat, 12 Sep 2009 21:17:33 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:31992b23-d642-43a9-9888-6204db8e2902</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4799</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by Morgan</title>
      <description>&lt;p&gt;@Solomon&amp;#8212;&lt;/p&gt;


	&lt;p&gt;Thanks for the tip Solomon, I was using a hand compiled version of 1.8.6 (WAY faster than the one that ships with OS X) and had opted to continue using it.  I built 1.8.7 and tried that and everything started working.&lt;/p&gt;


	&lt;p&gt;Also, for what it&amp;#8217;s worth, I used MacPorts to install ImageMagick and installed the RMagick gem just by doing a &amp;#8216;sudo gem install rmagick&amp;#8217; and everything worked.  I didn&amp;#8217;t need to use your script, but thanks!&lt;/p&gt;</description>
      <pubDate>Fri, 11 Sep 2009 16:43:58 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:6a20e87b-1569-4c35-9a3c-c816c7b9416c</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4798</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by Morgan</title>
      <description>&lt;p&gt;@Solomon&amp;#8212;&lt;/p&gt;


	&lt;p&gt;Thanks for the tip Solomon, I was using a hand compiled version of 1.8.6 (WAY faster than the one that ships with OS X) and had opted to continue using it.  I built 1.8.7 and tried that and everything started working.&lt;/p&gt;


	&lt;p&gt;Also, for what it&amp;#8217;s worth, I used MacPorts to install ImageMagick and installed the RMagick gem just by doing a &amp;#8216;sudo gem install rmagick&amp;#8217; and everything worked.  I didn&amp;#8217;t need to use your script, but thanks!&lt;/p&gt;</description>
      <pubDate>Fri, 11 Sep 2009 16:43:47 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:1e1af0f3-6664-428b-917f-2900cb328a8c</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4797</link>
    </item>
    <item>
      <title>"RMagick (from source) on Snow Leopard" by Tony Perrie</title>
      <description>&lt;p&gt;Also, jpeg-7 must be used or you&amp;#8217;ll get decode errors when resizing JPEG images.   The config.log error for something about _jpeg_header symbol not found in libjpeg.dyld.&lt;/p&gt;


	&lt;p&gt;wget &lt;a href="http://www.ijg.org/files/jpegsrc.v7.tar.gz"&gt;http://www.ijg.org/files/jpegsrc.v7.tar.gz&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 10 Sep 2009 04:31:52 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:69eb78b6-7b4b-46c2-b2cf-8b4eeca54b8a</guid>
      <link>http://www.onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard#comment-4796</link>
    </item>
  </channel>
</rss>
