LoginSignup
0
0

More than 3 years have passed since last update.

Ubuntu18.04でrmagickをインストールしようとしたらできなかった

Posted at

備忘がてら・・・。

発生した問題

Gemfileに以下を追記して実行したらエラーが発生した。

gem 'rmagick'
No package 'MagickCore' found

ERROR: Can't install RMagick 4.1.2.
Can't find the ImageMagick library or one of the dependent libraries.
Check the mkmf.log file for more detailed information.

MagickCore が見つからないらしい。

ImageMagick自体はインストール済みだった。

 % convert --version
Version: ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org

解決策

ここに解決策があった

sudo apt-get install libmagickwand-dev

その後、 bundle install を実行したら無事にインストールができた。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0