error while loading shared libraries: libMagickCore-7.Q16HDRI.so.6

Anuj TBE picture Anuj TBE · May 30, 2018 · Viewed 10.1k times · Source

I have been trying to install ImageMagick in Ubuntu 16.04 to use with movie.py

I have installed ImageMagick 7 but when I check the version from the command line

convert --version

It gives error as

convert: error while loading shared libraries: libMagickCore-7.Q16HDRI.so.6: cannot open shared object file: No such file or directory

I also tried running

sudo ldconfig /user/local/lib

But, still getting same error.

Edit 2: How I installed

  1. Downloaded two rpm files from imagemagick.org
  2. run following commands to install in Ubuntu 16.04

    sudo alien -i ImageMagick-libs-7.0.7-37.x86_64.rpm
    sudo alien -i ImageMagick-7.0.7-37.x86_64.rpm

Answer

elquimista picture elquimista · Sep 11, 2018

You may need to run this: ldconfig /usr/local/lib