Topic: Dependency errors installing ImageMagick-last-libs on AWS Linux

Hi,

I'm trying to install ImageMagick-last-libs (required for php70-php-pecl-imagick) on an AWS Linux instance.

- Added the Centos base repositories to make sure all dependencies are available
- Installed all dependencies which get installed on a CentOS 6 instance when installing ImageMagick-last-libs

The installation fails on the following dependencies:

# yum -y install ImageMagick-last-libs.x86_64
Loaded plugins: priorities, update-motd, upgrade-helper
4292 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package ImageMagick-last-libs.x86_64 0:6.9.4.9-1.el6.remi will be installed
--> Processing Dependency: libgvc.so.5()(64bit) for package: ImageMagick-last-libs-6.9.4.9-1.el6.remi.x86_64
--> Processing Dependency: libgraph.so.4()(64bit) for package: ImageMagick-last-libs-6.9.4.9-1.el6.remi.x86_64
--> Processing Dependency: libcdt.so.4()(64bit) for package: ImageMagick-last-libs-6.9.4.9-1.el6.remi.x86_64
--> Finished Dependency Resolution
Error: Package: ImageMagick-last-libs-6.9.4.9-1.el6.remi.x86_64 (remi)
           Requires: libgvc.so.5()(64bit)
Error: Package: ImageMagick-last-libs-6.9.4.9-1.el6.remi.x86_64 (remi)
           Requires: libcdt.so.4()(64bit)
Error: Package: ImageMagick-last-libs-6.9.4.9-1.el6.remi.x86_64 (remi)
           Requires: libgraph.so.4()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


Has anyone managed to get this (or php70-php-pecl-imagick) installed on AWS Linux?

Regards,
Maarten

Re: Dependency errors installing ImageMagick-last-libs on AWS Linux

You need graphviz-2.26.0-10.el6.x86_64 which is in base repo.
=> http://rpms.remirepo.net/rpmphp/zoom.php?rpm=graphviz

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: Dependency errors installing ImageMagick-last-libs on AWS Linux

Hi Remi,

Thanks for your quick response.
It came down to the version of graphviz installed. The amazon repositories include a newer version (graphviz-2.38.0-18.50.amzn1.x86_64).
After excluding the version in the Amazon repositories and installing version 2.26 from the base repositories it worked.

Regards,
Maarten

Re: Dependency errors installing ImageMagick-last-libs on AWS Linux

smile

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