I have installed PHP Remi on Red Hat 9 . when I am trying to install PHP gd extension for PHP remi 8.3 then getting package php-gd-8.3.17-1.el9.remi.x86_64 from remi-modular requires libgd.so.103()(64bit)
error; Same error happen for also remi PHP 8.2.
Here the error log:
[xxx@xxx yum.repos.d]$ sudo yum --enablerepo=remi install php-gd
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered with an entitlement server. You can use "rhc" or "subscription-manager" to register.
Last metadata expiration check: 1:24:25 ago on Mon 03 Mar 2025 05:57:44 AM CET.
Error:
Problem: package php-gd-8.3.17-1.el9.remi.x86_64 from remi-modular requires libgd.so.103()(64bit), but none of the providers can be installed
- cannot install the best candidate for the job
- nothing provides libraqm.so.0()(64bit) needed by gd3php-2.3.3-8.el9.remi.x86_64 from remi
- nothing provides libimagequant.so.0()(64bit) needed by gd3php-2.3.3-8.el9.remi.x86_64 from remi
- nothing provides libavif.so.14()(64bit) needed by gd3php-2.3.3-8.el9.remi.x86_64 from remi
- nothing provides libraqm.so.0()(64bit) needed by gd3php-2.3.3-9.el9.remi.x86_64 from remi
- nothing provides libimagequant.so.0()(64bit) needed by gd3php-2.3.3-9.el9.remi.x86_64 from remi
- nothing provides libraqm.so.0()(64bit) needed by gd3php-2.3.3-8.el9.remi.x86_64 from remi-safe
- nothing provides libimagequant.so.0()(64bit) needed by gd3php-2.3.3-8.el9.remi.x86_64 from remi-safe
- nothing provides libavif.so.14()(64bit) needed by gd3php-2.3.3-8.el9.remi.x86_64 from remi-safe
- nothing provides libraqm.so.0()(64bit) needed by gd3php-2.3.3-9.el9.remi.x86_64 from remi-safe
- nothing provides libimagequant.so.0()(64bit) needed by gd3php-2.3.3-9.el9.remi.x86_64 from remi-safe
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Please note i have multiple version install on this redhat but only one version is active at time
[xxx@xxxx yum.repos.d]$ sudo dnf module list php
[sudo] password for abera:
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered with an entitlement server. You can use "rhc" or "subscription-manager" to register.
Last metadata expiration check: 1:46:52 ago on Mon 03 Mar 2025 05:50:52 AM CET.
Remi's Modular repository for Enterprise Linux 9 - x86_64
Name Stream Profiles Summary
php remi-7.4 common [d], devel, minimal PHP scripting language
php remi-8.0 common [d], devel, minimal PHP scripting language
php remi-8.1 common [d], devel, minimal PHP scripting language
php remi-8.2 common [d], devel, minimal PHP scripting language
php remi-8.3 [e] common [d] [i], devel, minimal PHP scripting language
php remi-8.4 common [d], devel, minimal PHP scripting language
ml-rhel9-dev-RHEL 9 x86_64 Appstream
Name Stream Profiles Summary
php 8.1 common [d], devel, minimal PHP scripting language
php 8.2 common [d], devel, minimal PHP scripting language
also, install trying to install some lib using gd error log
Like:
sudo dnf search libraqm
sudo dnf search libimagequant
sudo dnf search libavif
but same error happen . Can anyone help me to fix the error on PHP remi 8.2 gd extension
I have installed PHP Remi on Red Hat 9 . when I am trying to install PHP gd extension for PHP remi 8.3 then getting package php-gd-8.3.17-1.el9.remi.x86_64 from remi-modular requires libgd.so.103()(64bit)
error; Same error happen for also remi PHP 8.2.
Here the error log:
[xxx@xxx yum.repos.d]$ sudo yum --enablerepo=remi install php-gd
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered with an entitlement server. You can use "rhc" or "subscription-manager" to register.
Last metadata expiration check: 1:24:25 ago on Mon 03 Mar 2025 05:57:44 AM CET.
Error:
Problem: package php-gd-8.3.17-1.el9.remi.x86_64 from remi-modular requires libgd.so.103()(64bit), but none of the providers can be installed
- cannot install the best candidate for the job
- nothing provides libraqm.so.0()(64bit) needed by gd3php-2.3.3-8.el9.remi.x86_64 from remi
- nothing provides libimagequant.so.0()(64bit) needed by gd3php-2.3.3-8.el9.remi.x86_64 from remi
- nothing provides libavif.so.14()(64bit) needed by gd3php-2.3.3-8.el9.remi.x86_64 from remi
- nothing provides libraqm.so.0()(64bit) needed by gd3php-2.3.3-9.el9.remi.x86_64 from remi
- nothing provides libimagequant.so.0()(64bit) needed by gd3php-2.3.3-9.el9.remi.x86_64 from remi
- nothing provides libraqm.so.0()(64bit) needed by gd3php-2.3.3-8.el9.remi.x86_64 from remi-safe
- nothing provides libimagequant.so.0()(64bit) needed by gd3php-2.3.3-8.el9.remi.x86_64 from remi-safe
- nothing provides libavif.so.14()(64bit) needed by gd3php-2.3.3-8.el9.remi.x86_64 from remi-safe
- nothing provides libraqm.so.0()(64bit) needed by gd3php-2.3.3-9.el9.remi.x86_64 from remi-safe
- nothing provides libimagequant.so.0()(64bit) needed by gd3php-2.3.3-9.el9.remi.x86_64 from remi-safe
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Please note i have multiple version install on this redhat but only one version is active at time
[xxx@xxxx yum.repos.d]$ sudo dnf module list php
[sudo] password for abera:
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered with an entitlement server. You can use "rhc" or "subscription-manager" to register.
Last metadata expiration check: 1:46:52 ago on Mon 03 Mar 2025 05:50:52 AM CET.
Remi's Modular repository for Enterprise Linux 9 - x86_64
Name Stream Profiles Summary
php remi-7.4 common [d], devel, minimal PHP scripting language
php remi-8.0 common [d], devel, minimal PHP scripting language
php remi-8.1 common [d], devel, minimal PHP scripting language
php remi-8.2 common [d], devel, minimal PHP scripting language
php remi-8.3 [e] common [d] [i], devel, minimal PHP scripting language
php remi-8.4 common [d], devel, minimal PHP scripting language
ml-rhel9-dev-RHEL 9 x86_64 Appstream
Name Stream Profiles Summary
php 8.1 common [d], devel, minimal PHP scripting language
php 8.2 common [d], devel, minimal PHP scripting language
also, install trying to install some lib using gd error log
Like:
sudo dnf search libraqm
sudo dnf search libimagequant
sudo dnf search libavif
but same error happen . Can anyone help me to fix the error on PHP remi 8.2 gd extension
Looks like EPEL is not installed or enabled as it provides missing dependencies
As explained in the FAQ
For memory for a proper repository configuration and usage follow the Wizard instructions
Try enabling CodeReady Builder Many EPEL packages require the CodeReady Builder (CRB) repository. It is recommended that you run /usr/bin/crb enable to enable the CRB repository.
/usr/bin/crb enable
Or potentially use the fedora EPEL:
sudo dnf install \
https://dl.fedoraproject./pub/epel/epel-release-latest-9.noarch.rpm