Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

image-magick import broken on debian 11

153 views
Skip to first unread message

Colin Williams

unread,
Aug 8, 2021, 2:30:05 AM8/8/21
to
Hello,

I've been trying to use the import command from image-magick and getting

import: error while loading shared libraries: libIlmImf-2_2.so.23:
cannot open shared object file: No such file or directory

I tried removing and installing packages but have not yet been
successful at fixing or replacing the missing object. Can someone
suggest what commands I should run that should provide a working image
magick ?

Thomas Schmitt

unread,
Aug 8, 2021, 3:50:04 AM8/8/21
to
Hi,

Colin Williams wrote:
> I seem to have resolved the issue above after rebooting.

Congrats.
I planned to propose lsmod today, but your exploration work was faster.

Nevertheless, i wonder why the loop module was not loaded when you had
the difficulties with your script runs.


Have a nice day :)

Thomas

Nicolas George

unread,
Aug 8, 2021, 4:10:05 AM8/8/21
to
Colin Williams (12021-08-07):
The import command on my system does not load any libIlmImf. Have you
made sure the import command you are trying to use comes from the
official Debian package?

PS: in the future, do not hijack threads. If you do not know what it
means, look it up.

Regards,

--
Nicolas George
signature.asc

Thomas Schmitt

unread,
Aug 8, 2021, 4:30:05 AM8/8/21
to
Hi,

Colin Williams wrote:
> import: error while loading shared libraries: libIlmImf-2_2.so.23:
> cannot open shared object file: No such file or directory

libIlmImf is part of libopenexrNN with NN changing from Debian release
to Debian release.

In Debian 11 "bullseye" it is supposed to be libIlmImf-2_5.so.25.
https://packages.debian.org/bullseye/amd64/libopenexr25/filelist

libIlmImf-2_2.so.23 is in Debian 10 "buster":
https://packages.debian.org/buster/amd64/libopenexr23/filelist

(One can use the package descriptions of libopenexr-dev as guide to get
to the names of libopenexr in the various Debian versions.)

So the question is why your Debian 11 ImageMagick demands the library
version from Debian 10.
(The ever changing name of the libopenexrNN packages might indicate that
more than one of them may be installed in the same system. But that's
only a guess of mine.)

Greg Wooledge

unread,
Aug 8, 2021, 9:00:04 AM8/8/21
to
On Sun, Aug 08, 2021 at 10:24:43AM +0200, Thomas Schmitt wrote:
> Colin Williams wrote:
> > import: error while loading shared libraries: libIlmImf-2_2.so.23:
> > cannot open shared object file: No such file or directory
>
> libIlmImf is part of libopenexrNN with NN changing from Debian release
> to Debian release.
>
> In Debian 11 "bullseye" it is supposed to be libIlmImf-2_5.so.25.
> https://packages.debian.org/bullseye/amd64/libopenexr25/filelist

unicorn:~$ aptitude why libopenexr25
i imagemagick Depends imagemagick-6.q16 (>= 8:6.9.2.10+dfsg
-2~)
i A imagemagick-6.q16 Recommends libmagickcore-6.q16-6-extra
i A libmagickcore-6.q16-6-extra Depends libopenexr25 (>= 2.5.4)

Maybe, for whatever reason, Colin somehow installed imagemagick
without allowing the "Recommends" to be brought in?

Colin, see if "apt-get install libmagickcore-6.q16-6-extra" fixes it.
0 new messages