5
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

libMagickCore-6.Q16.so.2: cannot open shared object file: No such file or directory のエラー対処

Last updated at Posted at 2014-06-30

rubyのバージョンアップしてrailsサーバ立ち上げたら表題のエラーが出た。
pathを通す必要があるよう。

調べてみると/usr/local/lib/以下に該当ファイルがあったので、下記を明記して対応。

.bashrc
export LD_LIBRARY_PATH=/usr/local/lib/

もし、一時的にpathを通すのであれば、記入せず直接コンソールで実行。

export LD_LIBRARY_PATH=/usr/local/lib/
5
5
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
5
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?