Control Web Panel
WebPanel => Updates => Topic started by: Reikor on August 03, 2026, 11:40:36 AM
-
Can someone help me with this, i dont know if there is a workaround now, it has been a week now when i install CWP on a fresh Alma 8 or 9 Building a php-fpm is a completelly fail. CWP Version 1.7
Thanks.
-
onfigure: error: Package requirements (libpng) were not met:
Package 'libpng', required by 'virtual:world', not found
PHP's ./configure uses pkg-config to locate libpng (for the GD extension). pkg-config couldn't find it, so configure aborted and the whole build died.
Root cause: libpng-devel was installed — but only the i686 (32-bit) package. A 32-bit -devel drops its pkg-config file at:
/usr/lib/pkgconfig/libpng.pc ← 32-bit path
But on a 64-bit box, pkg-config only searches:
/usr/lib64/pkgconfig : /usr/share/pkgconfig ← note: /usr/lib (32-bit) NOT included
So pkg-config --exists libpng returned false even though the package looked installed. (This is a CWP-on-AL9 quirk — some of its build-dep steps pull .i686 packages.)
The fix — install the x86_64 dev package so the .pc lands in the path pkg-config actually searches:
dnf -y --enablerepo=crb,epel install libpng-devel.x86_64 gd-devel postgresql-devel
Note: on AlmaLinux 9 the -devel repo is crb (CodeReady Builder), which replaced AL8's powertools. After this, /usr/lib64/pkgconfig/libpng.pc exists and pkg-config --exists libpng → OK (1.6.37), so the GD/libpng configure step passes and PHP compiles.
-
Thanks! Key info for the future, unless this underlying behavior gets patched by Alma maintainers.
-
PHP-FPM works fine on our AL9 ( AlmaLinux 9.8 ) and CWP 1.7 directly from the GUI.
-
PHP-FPM works fine on our AL9 ( AlmaLinux 9.8 ) and CWP 1.7 directly from the GUI.
They are patching on the fly, deploy changes after hours. Really dont know what they are doing
-
PHP-FPM works fine on our AL9 ( AlmaLinux 9.8 ) and CWP 1.7 directly from the GUI.
Ok mate, but there are people still using AlmaLinux 8.10 and have an error message when trying to install PHP-FPM 8.4 or PHP 8.5.
I have tried all the available solutions but none of them work for me. Do you have any idea how we who use AlmaLinux 8.10 can fix it?
Thanks
Image attached
(https://i.postimg.cc/KYD63yLN/Screenshot-6.png)