I upgraded to Debian GNU/Linux 9.4 (stretch) , and now ImageMagick doesn't work.

convert --version gives this error:

convert: error while loading shared libraries: libIlmImf.so.6: cannot open shared object file: No such file or directory

I try to install libIlmImf.so.6 or libopenexr6 with sudo apt-get install and I get this:

E: Unable to locate package libIlmImf
Package libopenexr6 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libopenexr6' has no installation candidate

I've reinstalled ImageMagick but no luck yet, any hints how to get ImageMagick back online working?

FWIW, the version of ImageMagick I installed was installed via sudo apt-get install like this:

sudo apt-get install imagemagick 
  • How did you install ImageMagick? – Giacomo1968 Jul 18 '18 at 16:10
  • @JakeGould using sudo apt-get install imagemagick – Fight Fire With Fire Jul 18 '18 at 16:12
  • My best suggestion to you is to uninstall ImageMagick and then reinstall and see if that clears things up. Also, be sure to run sudo apt-get update to get package lists updated. – Giacomo1968 Jul 18 '18 at 16:13
  • 1
    In Debian stretch, imagemagick is a dummy package depending on imagemagick-6.q16, which is at this moment version 8: Please show what versions of imagemagick and imagemagick-6.q16 you currently have installed (add this info to the question). – wurtel Jul 19 '18 at 6:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.