[Bug 2104822] unable to load imagemagick-perl module after upgrade
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2104822
--- Comment #11 from Sergio Basto <sergio(a)serjux.com> ---
(In reply to Sergio from comment #9)
> i just removed the files, still not working. The files listed with rmp |
> grep are not there. i.e.:
> root@localhost:ls /usr/lib64/perl5/vendor_perl/Image/Magick.pm
> ls: cannot access '/usr/lib64/perl5/vendor_perl/Image/Magick.pm': No such
> file or directory
>
>
> what do i do now? reinstall the packages?
I got a typo in my rm !!!!
you need remove only on /usr/local , rm -rf
/usr/local/lib64/perl5/auto/Image/Magick
/usr/local/lib64/perl5/vendor_perl/Image/Magick.pm
/usr/local/lib64/perl5/vendor_perl/Image/Magick/Q16.pm
and yes, dnf reinstall ImageMagick-perl
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2104822
1 year, 10 months
[Bug 2104822] unable to load imagemagick-perl module after upgrade
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2104822
Stephen John Smoogen <smooge(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |smooge(a)redhat.com
--- Comment #10 from Stephen John Smoogen <smooge(a)redhat.com> ---
OK so looking at this ticket there seems to have been two versions of the Image
Magick installed on the box somehow. One of them is from the RPMS and was in
/usr/lib64/perl5 and the other was in /usr/local/lib tree. I think that in
comment 8, Sergio MB meant for you to look in the /usr/local/lib tree and
remove any of the Image/Magick.pm files. He accidently said to remove the
/usr/lib64 ones instead. So to clean up:
1. Look in /usr/local/lib64/perl5/ and see what is installed there and try to
figure out when it was and what might have done so. This is the root cause of
the problems because these were built against a different set of libraries
which aren't working on your system now.
2. Reinstall the ImageMagick packages.
3. See if you had specific extra ImageMagick perl items installed in perl5 and
rebuild them. If this was some other perl library it probably was done via cpan
commands from root or a similar priviledged user.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2104822
1 year, 10 months
[Bug 2104822] unable to load imagemagick-perl module after upgrade
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2104822
--- Comment #8 from Sergio Basto <sergio(a)serjux.com> ---
rpm -ql ImageMagick-perl | grep /usr/lib64/perl5
/usr/lib64/perl5/vendor_perl/Image
/usr/lib64/perl5/vendor_perl/Image/Magick
/usr/lib64/perl5/vendor_perl/Image/Magick.pm
/usr/lib64/perl5/vendor_perl/Image/Magick/Q16.pm
/usr/lib64/perl5/vendor_perl/auto/Image
/usr/lib64/perl5/vendor_perl/auto/Image/Magick
/usr/lib64/perl5/vendor_perl/auto/Image/Magick/Q16
/usr/lib64/perl5/vendor_perl/auto/Image/Magick/Q16/Q16.so
/usr/lib64/perl5/vendor_perl/auto/Image/Magick/Q16/autosplit.ix
you need remove or uninstall Image/Magick on /usr/local
rm -rf /usr/local/lib64/perl5/auto/Image/Magick
/usr/lib64/perl5/vendor_perl/Image/Magick.pm
/usr/lib64/perl5/vendor_perl/Image/Magick/Q16.pm
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2104822
1 year, 10 months
[Bug 2104822] unable to load imagemagick-perl module after upgrade
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2104822
--- Comment #7 from Sergio <sergio.nogales_tenorio(a)siemens.com> ---
root@localhost:rm /usr/local/lib64/perl5/auto/Image/Magick/Magick.so
root@localhost:rpm -ql ImageMagick-perl | grep so
/usr/lib64/perl5/vendor_perl/auto/Image/Magick/Q16/Q16.so
root@localhost:perl -MImage::Magick -le 'print Image::Magick->QuantumDepth'
Can't locate loadable object for module Image::Magick in @INC (@INC contains:
/usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at -e line 0.
Compilation failed in require.
BEGIN failed--compilation aborted.
&Image::Magick::constant not defined. The required ImageMagick libraries are
not installed or not installed properly.
END failed--call queue aborted.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2104822
1 year, 10 months
[Bug 2104822] unable to load imagemagick-perl module after upgrade
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2104822
--- Comment #5 from Sergio <sergio.nogales_tenorio(a)siemens.com> ---
root@localhost:dnf distro-sync ImageMagick ImageMagick-libs ImageMagick-perl
Updating Subscription Management repositories.
Last metadata expiration check: 0:39:51 ago on Tue 12 Jul 2022 05:36:15 PM
CEST.
Dependencies resolved.
Nothing to do.
Complete!
root@localhost:perl -MImage::Magick -le 'print Image::Magick->QuantumDepth'
Can't load '/usr/local/lib64/perl5/auto/Image/Magick/Magick.so' for module
Image::Magick: libMagickCore-6.Q16.so.6: cannot open shared object file: No
such file or directory at /usr/lib64/perl5/DynaLoader.pm line 194.
at -e line 0.
Compilation failed in require.
BEGIN failed--compilation aborted.
&Image::Magick::constant not defined. The required ImageMagick libraries are
not installed or not installed properly.
END failed--call queue aborted.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2104822
1 year, 10 months