libMagickCore.so.4: cannot open shared object file: No such file or directory
After update Ubuntu from 12.04 to 14.04, when the libs are reloaded or deleted, I lose some libraries.
Then when I tried to run a project that needed of the gem Rmagick, surprise: libMagickCore.so.4: cannot open shared object file: No such file or directory !!!!!
After search, and search and search, found a solution that worked for me:
- sudo apt-get install imagemagick
- sudo apt-get install libmagickcore-dev libmagickwand-dev
And finally
- bundle exec gem pristine rmagick
Luck!
Written by Débora Fernandes
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#