Topic: ImageMagick depends LibRaw

Hi,

I'm unable to update ImageMagick on Amazon Linux 2

Seems that the Amazon-ImageMagick is not compatible with Remi LibRaw?
How can I solve this?

Thanks.


yum update
Loaded plugins: extras_suggestions, langpacks, update-motd
amzn-2-dbs-public-rpms                                                                                                                                                                                                                                                 | 3.0 kB  00:00:00
amzn2-core                                                                                                                                                                                                                                                             | 3.7 kB  00:00:00
Resolving Dependencies
--> Running transaction check
---> Package ImageMagick.x86_64 0:6.9.10.68-6.amzn2.0.3 will be updated
---> Package ImageMagick.x86_64 0:6.9.10.97-1.amzn2.0.1 will be an update
--> Processing Dependency: libraw.so.5()(64bit) for package: ImageMagick-6.9.10.97-1.amzn2.0.1.x86_64
---> Package ImageMagick-devel.x86_64 0:6.9.10.68-6.amzn2.0.3 will be updated
---> Package ImageMagick-devel.x86_64 0:6.9.10.97-1.amzn2.0.1 will be an update
---> Package ImageMagick-perl.x86_64 0:6.9.10.68-6.amzn2.0.3 will be updated
---> Package ImageMagick-perl.x86_64 0:6.9.10.97-1.amzn2.0.1 will be an update
--> Finished Dependency Resolution
Error: Package: ImageMagick-6.9.10.97-1.amzn2.0.1.x86_64 (amzn2-core)
           Requires: libraw.so.5()(64bit)
           Available: LibRaw-0.14.8-5.amzn2.20120830git98d925.x86_64 (amzn2-core)
               libraw.so.5()(64bit)
           Available: LibRaw-0.14.8-5.amzn2.20120830git98d925.1.x86_64 (amzn2-core)
               libraw.so.5()(64bit)
           Installed: LibRaw-0.19.4-0.el7.remi.x86_64 (@remi-safe)
              ~libraw.so.19()(64bit)
           Available: LibRaw-0.19.2-0.el7.remi.x86_64 (remi-safe)
              ~libraw.so.19()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Re: ImageMagick depends LibRaw

Use ImageMagick6 or ImageMagick7 from "remi" which is build on real EL-7 (RHEL-7.9) and using LibRaw 0.19.4 (since 7.7)

LibRaw-0.19.4-0 is in remi-safe especially for amzn2 users (aka the Frankenstein Distro)


P.S.

- php-pecl-imagick-im7 use ImageMagick7-libs
- php-pecl-imagick-im6 use ImageMagick6-libs

ImageMagick can be removed and ImageMagick7 used instead
(I recommend not using v6 anymore)

Also read https://blog.remirepo.net/post/2016/12/ … ageMagick7

I also recommend not using any EL-7 based distribution which is close to its end of life in ~1 year

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: ImageMagick depends LibRaw

Rather https://blog.remirepo.net/post/2023/04/ … -extension (updated info)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: ImageMagick depends LibRaw

Thanks, will try this smile