Hello,
I tried to install PHP 8.4.11 via aaPanel on AlmaLinux 8.10 but the build failed during the final linking stage. The error message is:/bin/ld: dynamic STT_GNU_IFUNC symbol mb_utf16be_to_wchar' with pointer equality inext/mbstring/libmbfl/filters/mbfilter_utf16.o' can not be used when making an executable; recompile with -fPIE and relink with -pie
collect2: error: ld returned 1 exit status
make: *** [Makefile:285: sapi/cli/php] Error 1
System details:
• AlmaLinux release 8.10 (Cerulean Leopard)
• Arch: x86_64 (64-bit)
• Kernel: 4.18.0-553.40.1.el8_10.x86_64
• Memory: 12 GB
• CPU: 8 cores
• gcc: 8.5.0
• cmake: 3.26.5
aaPanel shows:ERROR: php-8.4.11 install failed.
Please submit to https://www.aapanel.com/forum for help
It seems related to missing -fPIE / -pie flags during compilation.
Could you please advise how to fix this issue or if there is an updated build script for PHP 8.4 on AlmaLinux 8?
Thank you!