Topic: undefined symbol: gdImageWebpCtx

Hello!
Thanks for your work. I'm using your PHP repos since 2014.
I'm upgrading PHP on a server and I get this message:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/gd.so' - /usr/lib64/php/modules/gd.so: undefined symbol: gdImageWebpCtx in Unknown on line 0
PHP 5.6.30 (cli) (built: Jan 20 2017 08:02:17)

I've installed

#rpm -q php php-gd gd-last
php-5.6.30-2.el6.remi.x86_64
php-gd-5.6.30-2.el6.remi.x86_64
gd-last-2.2.4-1.el6.remi.x86_64

Do you have an idea how can I make GD run?
Thanks again!

Re: undefined symbol: gdImageWebpCtx

What is libwebp installed version ?  (I don't have issue with version 0.4.3 from EPEL)

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: undefined symbol: gdImageWebpCtx

$ rpm -q php php-gd gd-last  libwebp 
php-5.6.30-2.el6.remi.x86_64
php-gd-5.6.30-2.el6.remi.x86_64
gd-last-2.2.4-1.el6.remi.x86_64
libwebp-0.4.3-3.el6.x86_64

$ ldd /usr/lib64/php/modules/gd.so 
    linux-vdso.so.1 =>  (0x00007ffc21966000)
    libgd.so.3 => /usr/lib64/libgd.so.3 (0x00007fba5fc2b000)
    libt1.so.5 => /usr/lib64/libt1.so.5 (0x00007fba5f9cd000)
    libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fba5f68f000)
    libXpm.so.4 => /usr/lib64/libXpm.so.4 (0x00007fba5f47e000)
    libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x00007fba5f258000)
    libz.so.1 => /lib64/libz.so.1 (0x00007fba5f041000)
    libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00007fba5edf1000)
    libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007fba5eb54000)
    libc.so.6 => /lib64/libc.so.6 (0x00007fba5e7bf000)
    libm.so.6 => /lib64/libm.so.6 (0x00007fba5e53b000)
    libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007fba5e305000)
    libtiff.so.3 => /usr/lib64/libtiff.so.3 (0x00007fba5e09f000)
    libwebp.so.5 => /usr/lib64/libwebp.so.5 (0x00007fba5de41000)
    libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fba5dc22000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007fba5da1d000)
    /lib64/ld-linux-x86-64.so.2 (0x00000032e1200000)
    libexpat.so.1 => /lib64/libexpat.so.1 (0x00007fba5d7f5000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fba5d5d7000)
    libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fba5d3d4000)

$ php -v
PHP 5.6.30 (cli) (built: Jan 20 2017 08:02:17) 
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
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: undefined symbol: gdImageWebpCtx

Hey!
Thank you for the quick reaction. I was about to write again - the module started loading after I removed libgd.* from /usr/lib,lib64 and local/lib.

Otherwise the output of php -v, ldd and rpm -q is the same as yours.

It is loading fine now after removing libgd.so from /usr libs

Re: undefined symbol: gdImageWebpCtx

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