imagemagick module not found
Hi, I have a simple script, used uncountable times since years, and now it doesn't work anymore, because a module isn't found. The command executed is: magick "image.JPG" -quality 50 -verbose "image.png" The answer is: magick: unable to load module '/usr/lib64/ImageMagick-7.1.1/modules-7_Q16HDRI10/coders/jpeg.la': file not found @ error/module.c/OpenModule/1293. magick: no decode delegate for this image format `JPEG' @ error/constitute.c/ReadImage/746. I just checked: the not found jpeg.la is where it should be, the rights are set correct. Any hints what could be the reason and how I could correct it? Thanks for your help. Daniel OS 15.5, KDE just forced to update all imagemagick stuff via Yast, the error persists -- Daniel Bauer photographer Basel Málaga Twitter: @Marsfotografo (often explicit nudes) https://www.patreon.com/danielbauer https://www.daniel-bauer.com (nudes)
On 2024-08-15 13:40, Daniel Bauer wrote:
Hi,
I have a simple script, used uncountable times since years, and now it doesn't work anymore, because a module isn't found.
The command executed is: magick "image.JPG" -quality 50 -verbose "image.png"
The answer is: magick: unable to load module '/usr/lib64/ImageMagick-7.1.1/modules-7_Q16HDRI10/coders/jpeg.la': file not found @ error/module.c/OpenModule/1293. magick: no decode delegate for this image format `JPEG' @ error/constitute.c/ReadImage/746.
I just checked: the not found jpeg.la is where it should be, the rights are set correct.
Any hints what could be the reason and how I could correct it?
Thanks for your help. Daniel
OS 15.5, KDE just forced to update all imagemagick stuff via Yast, the error persists
I have /usr/lib64/ImageMagick-7.0.7/modules-7_Q16HDRI6/coders/jpeg.la /usr/lib64/ImageMagick-7.1.0/modules-7_Q16HDRI10/coders/jpeg.la they come in packages libMagickCore-7_Q16HDRI6-7.0.7.34-150200.10.57.1.x86_64 cer@Telcontar:~> rpm -qf /usr/lib64/ImageMagick-7.1.0/modules-7_Q16HDRI10/coders/jpeg.la libMagickCore-7_Q16HDRI10-7.1.0.9-150400.6.27.1.x86_64 cer@Telcontar:~> I have installed: cer@Telcontar:~> rpm -qa | grep ImageMagick ImageMagick-7.1.0.9-150400.6.27.1.x86_64 ImageMagick-extra-7.1.0.9-150400.6.27.1.x86_64 ImageMagick-config-7-SUSE-7.1.0.9-150400.6.27.1.x86_64 cer@Telcontar:~> -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
Am 15.08.24 um 13:59 schrieb Carlos E. R.:
On 2024-08-15 13:40, Daniel Bauer wrote:
Hi,
I have a simple script, used uncountable times since years, and now it doesn't work anymore, because a module isn't found.
The command executed is: magick "image.JPG" -quality 50 -verbose "image.png"
The answer is: magick: unable to load module '/usr/lib64/ImageMagick-7.1.1/modules-7_Q16HDRI10/coders/jpeg.la': file not found @ error/module.c/OpenModule/1293. magick: no decode delegate for this image format `JPEG' @ error/constitute.c/ReadImage/746.
I just checked: the not found jpeg.la is where it should be, the rights are set correct.
Any hints what could be the reason and how I could correct it?
Thanks for your help. Daniel
OS 15.5, KDE just forced to update all imagemagick stuff via Yast, the error persists
I have
/usr/lib64/ImageMagick-7.0.7/modules-7_Q16HDRI6/coders/jpeg.la /usr/lib64/ImageMagick-7.1.0/modules-7_Q16HDRI10/coders/jpeg.la
they come in packages
libMagickCore-7_Q16HDRI6-7.0.7.34-150200.10.57.1.x86_64 cer@Telcontar:~> rpm -qf /usr/lib64/ImageMagick-7.1.0/modules-7_Q16HDRI10/coders/jpeg.la libMagickCore-7_Q16HDRI10-7.1.0.9-150400.6.27.1.x86_64 cer@Telcontar:~>
I have installed:
cer@Telcontar:~> rpm -qa | grep ImageMagick ImageMagick-7.1.0.9-150400.6.27.1.x86_64 ImageMagick-extra-7.1.0.9-150400.6.27.1.x86_64 ImageMagick-config-7-SUSE-7.1.0.9-150400.6.27.1.x86_64 cer@Telcontar:~>
Yes, I now downgraded to 7.1.0.9 from 7.1.1, and with this it works (although it shows a buffer overflow message, but it works anyway. Had this before, as I remember...) I'll wait a while to see if imagemagick has an update. Something broke with the last one... -- Daniel Bauer photographer Basel Málaga Twitter: @Marsfotografo (often explicit nudes) https://www.patreon.com/danielbauer https://www.daniel-bauer.com (nudes)
Hello, In the Message; Subject : Re: imagemagick module not found Message-ID : <d2736eac-5cb5-44cd-ad92-df9b08458789@daniel-bauer.com> Date & Time: Thu, 15 Aug 2024 20:21:31 +0200 [DB] == Daniel Bauer <linux@daniel-bauer.com> has written: [...] DB> Yes, I now downgraded to 7.1.0.9 from 7.1.1, and with this it DB> works (although it shows a buffer overflow message, but it works DB> anyway. Had this before, as I remember...) DB> I'll wait a while to see if imagemagick has an update. Something DB> broke with the last one... Nope, my Tumbleweed handles it just fine. libMagick++-devel-7.1.1.36-754.1.x86_64 libMagick++-7_Q16HDRI5-7.1.1.36-754.1.x86_64 libMagickWand-7_Q16HDRI10-7.1.1.36-754.1.x86_64 perl-PerlMagick-7.1.1.36-754.1.x86_64 ImageMagick-extra-7.1.1.36-754.1.x86_64 libGraphicsMagick++-Q16-12-1.3.43-1.2.x86_64 ImageMagick-config-7-SUSE-7.1.1.36-754.1.x86_64 ImageMagick-7.1.1.36-754.1.x86_64 ImageMagick-devel-7.1.1.36-754.1.x86_64 libMagickCore-7_Q16HDRI10-7.1.1.36-754.1.x86_64 Best Regards. --- ┏━━┓彡 Masaru Noomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "Maddox hopes that empowering users to pick their own algorithms will get them to think more about what’s involved in making them. " -- Bluesky's Custom Algorithms Could Be the Future of Social Media --
Hello, In the Message; Subject : imagemagick module not found Message-ID : <c1189b26-0b35-47e7-995b-348b2af37265@daniel-bauer.com> Date & Time: Thu, 15 Aug 2024 13:40:41 +0200 [DB] == Daniel Bauer <linux@daniel-bauer.com> has written: DB> Hi, DB> I have a simple script, used uncountable times since years, and DB> now it doesn't work anymore, because a module isn't found. DB> The command executed is: DB> magick "image.JPG" -quality 50 -verbose "image.png" DB> The answer is: DB> magick: unable to load module DB> '/usr/lib64/ImageMagick-7.1.1/modules-7_Q16HDRI10/coders/jpeg.la': file not DB> found @ error/module.c/OpenModule/1293. DB> magick: no decode delegate for this image format `JPEG' @ DB> error/constitute.c/ReadImage/746. DB> I just checked: the not found jpeg.la is where it should be, the DB> rights are set correct. DB> Any hints what could be the reason and how I could correct it? libMagickCore-7_Q16HDRI10-7.1.1.36-lp155.753.1.x86_64.rpm includes it though? /usr/lib64/ImageMagick-7.1.1/modules-7_Q16HDRI10/coders/jpeg.la Best Regards & Good Night. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "Distinguish between what is meaningful to me and what is meaningless, and forget what is meaningless to me. This is where individuality comes into play. This is a function that computer cannot perform." -- Shigehiko Toyama (in Japanes) --
Am 15.08.24 um 14:11 schrieb Masaru Nomiya:
Hello,
In the Message;
Subject : imagemagick module not found Message-ID : <c1189b26-0b35-47e7-995b-348b2af37265@daniel-bauer.com> Date & Time: Thu, 15 Aug 2024 13:40:41 +0200
[DB] == Daniel Bauer <linux@daniel-bauer.com> has written:
DB> Hi,
DB> I have a simple script, used uncountable times since years, and DB> now it doesn't work anymore, because a module isn't found.
DB> The command executed is: DB> magick "image.JPG" -quality 50 -verbose "image.png"
DB> The answer is: DB> magick: unable to load module DB> '/usr/lib64/ImageMagick-7.1.1/modules-7_Q16HDRI10/coders/jpeg.la': file not DB> found @ error/module.c/OpenModule/1293. DB> magick: no decode delegate for this image format `JPEG' @ DB> error/constitute.c/ReadImage/746.
DB> I just checked: the not found jpeg.la is where it should be, the DB> rights are set correct.
DB> Any hints what could be the reason and how I could correct it?
libMagickCore-7_Q16HDRI10-7.1.1.36-lp155.753.1.x86_64.rpm includes it though?
/usr/lib64/ImageMagick-7.1.1/modules-7_Q16HDRI10/coders/jpeg.la
Yast file list says it's included. Also it is actually in the directory... -- Daniel Bauer photographer Basel Málaga Twitter: @Marsfotografo (often explicit nudes) https://www.patreon.com/danielbauer https://www.daniel-bauer.com (nudes)
Hello, Just after a shower. (^^;; It's too hot to take a bath.... In the Message; Subject : Re: imagemagick module not found Message-ID : <c7f312ac-21a3-42a7-aacd-c478571f96e6@daniel-bauer.com> Date & Time: Thu, 15 Aug 2024 14:17:52 +0200 [DB] == Daniel Bauer <linux@daniel-bauer.com> has written: DB> Am 15.08.24 um 14:11 schrieb Masaru Nomiya: MN> > libMagickCore-7_Q16HDRI10-7.1.1.36-lp155.753.1.x86_64.rpm includes it MN> > though? MN> > /usr/lib64/ImageMagick-7.1.1/modules-7_Q16HDRI10/coders/jpeg.la DB> Yast file list says it's included. Also it is actually in the DB> directory... Please make the file (ex. Imagemagick.conf) with the content of; /usr/lib64/ImageMagick-7.1.1 /usr/lib64/ImageMagick-7.1.1/config-7_Q16HDRI10 /usr/lib64/ImageMagick-7.1.1/modules-7_Q16HDRI10 and put it in /etc/ld.so.conf.d. Then, execute; # ldconfig Best Regards & I'm really going to sleep.... --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "To hire for skills, firms will need to implement robust and intentional changes in their hiring practices ― and change is hard." -- Employers don’t practice what they preach on skills-based hiring --
Am 15.08.24 um 13:40 schrieb Daniel Bauer: ..
The command executed is: magick "image.JPG" -quality 50 -verbose "image.png"
The answer is: magick: unable to load module '/usr/lib64/ImageMagick-7.1.1/modules-7_Q16HDRI10/coders/jpeg.la': file not found @ error/module.c/OpenModule/1293. magick: no decode delegate for this image format `JPEG' @ error/constitute.c/ReadImage/746.
Just for your information: There were imagemagick 7.1.1 updates yesterday that obviously solved the problem. (Because I needed to function, I downgraded to 7.0.9 and did the job, later I saw in zypper up that there were updates for 7.1.1 and installed them. Since then it works again) -- Daniel Bauer photographer Basel Málaga Twitter: @Marsfotografo (often explicit nudes) https://www.patreon.com/danielbauer https://www.daniel-bauer.com (nudes)
On 2024-08-16 12:25, Daniel Bauer wrote:
Am 15.08.24 um 13:40 schrieb Daniel Bauer: ..
The command executed is: magick "image.JPG" -quality 50 -verbose "image.png"
The answer is: magick: unable to load module '/usr/lib64/ImageMagick-7.1.1/modules-7_Q16HDRI10/coders/jpeg.la': file not found @ error/module.c/OpenModule/1293. magick: no decode delegate for this image format `JPEG' @ error/constitute.c/ReadImage/746.
Just for your information:
There were imagemagick 7.1.1 updates yesterday that obviously solved the problem.
(Because I needed to function, I downgraded to 7.0.9 and did the job, later I saw in zypper up that there were updates for 7.1.1 and installed them. Since then it works again)
I see. My system has been up for 55 days, so no updates in that period and I was thus not affected. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
Carlos E. R. composed on 2024-08-16 13:05 (UTC-0200):
Daniel Bauer wrote:
There were imagemagick 7.1.1 updates yesterday that obviously solved the problem.
(Because I needed to function, I downgraded to 7.0.9 and did the job, later I saw in zypper up that there were updates for 7.1.1 and installed them. Since then it works again)
I see. My system has been up for 55 days, so no updates in that period and I was thus not affected.
Virtually all updates can be applied without booting afterward. You /could/ have had those newer versions installed within that 55 days, but probably not. 7.1.0.9-150400.6.27.1 was installed here last January. I just updated again, without rebooting, 99 packages. You and I are on 15.5, while apparently Daniel is on 15.6. # zypper se -sx ImageMagick Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository --+-------------+------------+-----------------------+--------+----------- i | ImageMagick | package | 7.1.0.9-150400.6.27.1 | x86_64 | UpdateSLE v | ImageMagick | package | 7.1.0.9-150400.6.24.1 | x86_64 | UpdateSLE v | ImageMagick | package | 7.1.0.9-150400.6.21.1 | x86_64 | UpdateSLE v | ImageMagick | package | 7.1.0.9-150400.6.18.1 | x86_64 | OSS | ImageMagick | srcpackage | 7.1.0.9-150400.6.27.1 | noarch | UpdateSLE | ImageMagick | srcpackage | 7.1.0.9-150400.6.24.1 | noarch | UpdateSLE | ImageMagick | srcpackage | 7.1.0.9-150400.6.21.1 | noarch | UpdateSLE # -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
Am 16.08.24 um 13:42 schrieb Felix Miata:
Carlos E. R. composed on 2024-08-16 13:05 (UTC-0200):
Daniel Bauer wrote:
There were imagemagick 7.1.1 updates yesterday that obviously solved the problem.
(Because I needed to function, I downgraded to 7.0.9 and did the job, later I saw in zypper up that there were updates for 7.1.1 and installed them. Since then it works again)
I see. My system has been up for 55 days, so no updates in that period and I was thus not affected.
Virtually all updates can be applied without booting afterward. You /could/ have had those newer versions installed within that 55 days, but probably not. 7.1.0.9-150400.6.27.1 was installed here last January. I just updated again, without rebooting, 99 packages. You and I are on 15.5, while apparently Daniel is on 15.6. # zypper se -sx ImageMagick Loading repository data... Reading installed packages...
S | Name | Type | Version | Arch | Repository --+-------------+------------+-----------------------+--------+----------- i | ImageMagick | package | 7.1.0.9-150400.6.27.1 | x86_64 | UpdateSLE v | ImageMagick | package | 7.1.0.9-150400.6.24.1 | x86_64 | UpdateSLE v | ImageMagick | package | 7.1.0.9-150400.6.21.1 | x86_64 | UpdateSLE v | ImageMagick | package | 7.1.0.9-150400.6.18.1 | x86_64 | OSS | ImageMagick | srcpackage | 7.1.0.9-150400.6.27.1 | noarch | UpdateSLE | ImageMagick | srcpackage | 7.1.0.9-150400.6.24.1 | noarch | UpdateSLE | ImageMagick | srcpackage | 7.1.0.9-150400.6.21.1 | noarch | UpdateSLE #
No, I'm on 15.5, but I have this 7.1.1 version from the graphics repo, while the 7.1.09 came from the standard update repo...
~> zypper se -sx ImageMagick Repository-Daten werden geladen... Installierte Pakete werden gelesen...
S | Name | Type | Version | Arch | Repository ---+-------------+------------+-----------------------+--------+------------------------------------------------------------- i+ | ImageMagick | Paket | 7.1.1.36-lp155.753.1 | x86_64 | graphics v | ImageMagick | Paket | 7.1.0.9-150400.6.27.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15 v | ImageMagick | Paket | 7.1.0.9-150400.6.24.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15 v | ImageMagick | Paket | 7.1.0.9-150400.6.21.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15 v | ImageMagick | Paket | 7.1.0.9-150400.6.18.1 | x86_64 | Haupt-Repository | ImageMagick | Quellpaket | 7.1.1.36-lp155.753.1 | noarch | graphics | ImageMagick | Quellpaket | 7.1.0.9-150400.6.27.1 | noarch | Update repository with updates from SUSE Linux Enterprise 15 | ImageMagick | Quellpaket | 7.1.0.9-150400.6.24.1 | noarch | Update repository with updates from SUSE Linux Enterprise 15 | ImageMagick | Quellpaket | 7.1.0.9-150400.6.21.1 | noarch | Update repository with updates from SUSE Linux Enterprise 15 | ImageMagick | Quellpaket | 7.1.0.9-150400.6.18.1 | noarch | Quell-Repository
-- Daniel Bauer photographer Basel Málaga Twitter: @Marsfotografo (often explicit nudes) https://www.patreon.com/danielbauer https://www.daniel-bauer.com (nudes)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday, 2024-08-16 at 07:42 -0400, Felix Miata wrote:
Carlos E. R. composed on 2024-08-16 13:05 (UTC-0200):
Daniel Bauer wrote:
There were imagemagick 7.1.1 updates yesterday that obviously solved the problem.
(Because I needed to function, I downgraded to 7.0.9 and did the job, later I saw in zypper up that there were updates for 7.1.1 and installed them. Since then it works again)
I see. My system has been up for 55 days, so no updates in that period and I was thus not affected.
Virtually all updates can be applied without booting afterward. You /could/ have had those newer versions installed within that 55 days, but probably not.
I never run updates unless I am ready to reboot. Yes, I know that a reboot is not necessary with all updates. Maybe it is enough to restart some services or applications. Sometimes a restart of the session — which is as disruptive as a reboot. It is far easier and faster to just reboot instead of studying "zypper ps" output. So no, I do not run updates unless I am ready to reboot. If then I don't need to reboot after all, perfect.
7.1.0.9-150400.6.27.1 was installed here last January. I just updated again, without rebooting, 99 packages. You and I are on 15.5, while apparently Daniel is on 15.6.
No, he is on 15.5.
# zypper se -sx ImageMagick Loading repository data... Reading installed packages...
S | Name | Type | Version | Arch | Repository --+-------------+------------+-----------------------+--------+----------- i | ImageMagick | package | 7.1.0.9-150400.6.27.1 | x86_64 | UpdateSLE v | ImageMagick | package | 7.1.0.9-150400.6.24.1 | x86_64 | UpdateSLE v | ImageMagick | package | 7.1.0.9-150400.6.21.1 | x86_64 | UpdateSLE v | ImageMagick | package | 7.1.0.9-150400.6.18.1 | x86_64 | OSS | ImageMagick | srcpackage | 7.1.0.9-150400.6.27.1 | noarch | UpdateSLE | ImageMagick | srcpackage | 7.1.0.9-150400.6.24.1 | noarch | UpdateSLE | ImageMagick | srcpackage | 7.1.0.9-150400.6.21.1 | noarch | UpdateSLE #
Telcontar:~ # zypper se -sx ImageMagick Retrieving repository 'EXT: Packman Repository' metadata ........................................................................................................................................[done] Building repository 'EXT: Packman Repository' cache .............................................................................................................................................[done] ... Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository - ---+-------------+------------+-----------------------+--------+------------------------------------------------------------- i+ | ImageMagick | package | 7.1.0.9-150400.6.27.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15 v | ImageMagick | package | 7.1.0.9-150400.6.24.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15 v | ImageMagick | package | 7.1.0.9-150400.6.21.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15 v | ImageMagick | package | 7.1.0.9-150400.6.18.1 | x86_64 | Main Repository v | ImageMagick | package | 7.1.1.36-lp155.754.1 | x86_64 | OBS: graphics | ImageMagick | srcpackage | 7.1.0.9-150400.6.27.1 | noarch | Update repository with updates from SUSE Linux Enterprise 15 | ImageMagick | srcpackage | 7.1.0.9-150400.6.24.1 | noarch | Update repository with updates from SUSE Linux Enterprise 15 | ImageMagick | srcpackage | 7.1.0.9-150400.6.21.1 | noarch | Update repository with updates from SUSE Linux Enterprise 15 | ImageMagick | srcpackage | 7.1.1.36-lp155.754.1 | noarch | OBS: graphics Telcontar:~ # - -- Cheers, Carlos E. R. (from openSUSE 15.5 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCZr+iHBwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVK4AAmwQpgGK3Cxf5/6hfAu0m QptFNfxaAJ9wBMN98ZLJ49MBc4Suz/ZdVb9LqQ== =URwb -----END PGP SIGNATURE-----
I’m a bit late to the party, but I just wanted to say I’ve had similar problems with ImageMagick in the past, and it’s frustrating when something that used to work suddenly breaks. For anyone else experiencing issues, I found that sometimes reinstalling the specific components can help. Also, checking for any dependency issues might be a good idea. I’m still learning, but I appreciate all the tips shared here!
participants (5)
-
Carlos E. R.
-
Daniel Bauer
-
Felix Miata
-
heidenreich
-
Masaru Nomiya