Is this a new report?
Yes
System Info
Void 6.12.87_1 armv7l Unknown uptodate hold rFFFF
Package(s) Affected
php-8.5_1, php-gd-8.5.7_1
Does a report exist for this bug with the project's home (upstream) and/or another distro?
I've reported a similar issue with the php-gd extension for Void on armv7 in the past, see here: #56252
Expected behaviour
I've enabled the gd extension in my php.ini. By doing so I could parse images using imagecreatefromstring on php8.4.
Seems like a regression going from php8.4 to php8.5 as the error message reads exactly the same as last time.
Other extensions still work fine.
Actual behaviour
Now the following error is thrown:
$ php -r 'print_r(gd_info());'
PHP Warning: PHP Startup: Unable to load dynamic library 'gd' (tried: /usr/lib/php8.5/modules/gd (/usr/lib/php8.5/modules/gd: cannot open shared object file: No such file or directory), /usr/lib/php8.5/modules/gd.so (libx264.so.165: cannot enable executable stack as shared object requires: Invalid argument)) in Unknown on line 0
PHP Fatal error: Uncaught Error: Call to undefined function gd_info() in Command line code:1
Stack trace:
#0 {main}
thrown in Command line code on line 1
Note that gd.so exists on my system:
$ ls -al /usr/lib/php8.5/modules/gd.so
-rwxr-xr-x 1 root root 108012 Jun 14 00:28 /usr/lib/php8.5/modules/gd.so
Steps to reproduce
The following command should not output an error message:
$ php -r 'print_r(gd_info());'
Is this a new report?
Yes
System Info
Void 6.12.87_1 armv7l Unknown uptodate hold rFFFF
Package(s) Affected
php-8.5_1, php-gd-8.5.7_1
Does a report exist for this bug with the project's home (upstream) and/or another distro?
I've reported a similar issue with the
php-gdextension for Void on armv7 in the past, see here: #56252Expected behaviour
I've enabled the
gdextension in myphp.ini. By doing so I could parse images using imagecreatefromstring onphp8.4.Seems like a regression going from
php8.4tophp8.5as the error message reads exactly the same as last time.Other extensions still work fine.
Actual behaviour
Now the following error is thrown:
Note that
gd.soexists on my system:Steps to reproduce
The following command should not output an error message:
$ php -r 'print_r(gd_info());'