Topic: php-gd on 7.4 won't load due to issue with epel libraqm

I've followed the wizard, and did everything other than the yum update (I don't want to do the whole OS update right now), but did update all of the php packages several times over. I get no issues with the install, but at the end I get libgd won't load error because some symbol it wants in libraqm isn't defined. I'd just installed libraqm from the latest epel (7.11). Error below:

[root@red conf]# php --version
PHP Warning:  PHP Startup: Unable to load dynamic library 'gd' (tried: /usr/lib64/php/modules/gd (/usr/lib64/php/modules/gd: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/gd.so (/lib64/libraqm.so.0: undefined symbol: hb_ft_font_set_load_flags)) in Unknown on line 0
PHP 7.4.5 (cli) (built: Apr 14 2020 12:54:33) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

[root@red conf]# rpm -qi libraqm
Name        : libraqm
Version     : 0.7.0
Release     : 4.el7
Architecture: x86_64
Install Date: Thu 07 May 2020 04:17:01 PM CDT
Group       : Unspecified
Size        : 20969
License     : MIT
Signature   : RSA/SHA256, Fri 10 Jan 2020 04:51:27 PM CST, Key ID 6a2faea2352c64e5
Source RPM  : libraqm-0.7.0-4.el7.src.rpm
Build Date  : Fri 10 Jan 2020 04:32:24 PM CST
Build Host  : buildhw-10.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
Summary     : Complex Textlayout Library
Description :
Library that encapsulates the logic for complex
text layout and provides a convenient API.


Any ideas how to resolve this?

Re: php-gd on 7.4 won't load due to issue with epel libraqm

> I don't want to do the whole OS update right now

Sorry, but I cannot support such old version
You really have to update

See
https://forum.remirepo.net/viewtopic.php?id=3974
https://forum.remirepo.net/viewtopic.php?id=3980

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: php-gd on 7.4 won't load due to issue with epel libraqm

Have you considered updating your operating system, as using an older version might be the root cause of the 'libgd won't load' error in your PHP installation?