From: Joshua Muheim Date: 2008-10-29T03:17:54+09:00 Subject: OSX: Can't install RMagick. Can't find the ImageMagick lib Hi all I'm trying to install RMagick because one of my used plugins for RoR needs it. But I have no idea how to do this. So I just tried sudo gem install rmagick But I'm getting the following error: 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 install rmagick checking for Ruby version >= 1.8.2... yes checking for gcc... yes checking for Magick-config... yes checking for ImageMagick version >= 6.3.0... yes checking for HDRI disabled version of ImageMagick... yes checking for stdint.h... yes checking for sys/types.h... yes checking for magick/MagickCore.h... yes checking for InitializeMagick() in -lMagick... no checking for InitializeMagick() in -lMagickCore... no checking for InitializeMagick() in -lMagick++... no Can't install RMagick 2.7.0. 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-Magicklib --without-Magicklib --with-MagickCorelib --without-MagickCorelib --with-Magick++lib --without-Magick++lib Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/rmagick-2.7.0 for inspection. Results logged to /Library/Ruby/Gems/1.8/gems/rmagick-2.7.0/ext/RMagick/gem_make.out What can I do? Thanks, Josh -- Posted via http://www.ruby-forum.com/.