Centos6.5 installing rmagick has the checking for magick-config .. no problem.

Source: Internet
Author: User
Tags imagemagick

Centos6.5 install rmagick

1. Install rmagick

#gem install rmagick
Encountered an exception:

ERROR:  Error installing rmagick-2.13.1.gem:ERROR: Failed to build gem native extension./usr/bin/ruby extconf.rbchecking for Ruby version >= 1.8.5... yeschecking for gcc... yeschecking for Magick-config... noCan't install RMagick 2.13.1. Can't find Magick-config in /usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/liyongkuan/bin

The reason is that you need to rely on this: ImageMagick, its library file, ImageMagick-devel

# Install ImageMagick (uppercase or not detected)

#yum install ImageMagick#yum install ImageMagick-devel

Then install rmagick

#gem install rmagick

Tip: successfully install rmagick-2.13.1
1gem instal


OK. The installation is successful.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.