You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP8.2 setup with the gd extension has failed us for a few days now with
==> Setup PHP
✓ PHP Installed PHP 8.2.0-dev (56804e32216574c66cf71359a8a8830e7badc757)
==> Setup Extensions
PHP Warning: PHP Startup: Unable to load dynamic library 'gd.so' (tried: /usr/lib/php/20210903/gd.so (/usr/lib/php/20210903/gd.so: undefined symbol: gdImageCreateFromAvif), /usr/lib/php/20210903/gd.so.so (/usr/lib/php/20210903/gd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
✓ ctype Enabled
✓ curl Enabled
✓ dom Enabled
PHP Warning: PHP Startup: Unable to load dynamic library 'gd.so' (tried: /usr/lib/php/20210903/gd.so (/usr/lib/php/20210903/gd.so: undefined symbol: gdImageCreateFromAvif), /usr/lib/php/20210903/gd.so.so (/usr/lib/php/20210903/gd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'gd.so' (tried: /usr/lib/php/20210903/gd.so (/usr/lib/php/20210903/gd.so: undefined symbol: gdImageCreateFromAvif), /usr/lib/php/20210903/gd.so.so (/usr/lib/php/20210903/gd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20210903/gd.so' (tried: /usr/lib/php/20210903/gd.so (/usr/lib/php/20210903/gd.so: undefined symbol: gdImageCreateFromAvif), /usr/lib/php/20210903//usr/lib/php/20210903/gd.so.so (/usr/lib/php/20210903//usr/lib/php/20210903/gd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'gd.so' (tried: /usr/lib/php/20210903/gd.so (/usr/lib/php/20210903/gd.so: undefined symbol: gdImageCreateFromAvif), /usr/lib/php/20210903/gd.so.so (/usr/lib/php/20210903/gd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20210903/gd.so' (tried: /usr/lib/php/20210903/gd.so (/usr/lib/php/20210903/gd.so: undefined symbol: gdImageCreateFromAvif), /usr/lib/php/20210903//usr/lib/php/20210903/gd.so.so (/usr/lib/php/20210903//usr/lib/php/20210903/gd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
✗ gd Could not install gd on PHP 8.2.0-dev
✓ iconv Enabled
✓ intl Enabled
✓ json Enabled
✓ mbstring Enabled
✓ openssl Enabled
✓ posix Enabled
✓ sqlite3 Enabled
✓ xml Enabled
✓ zip Enabled
✓ gmp Enabled
==> Setup Tools
PHP Warning: PHP Startup: Unable to load dynamic library 'gd.so' (tried: /usr/lib/php/20210903/gd.so (/usr/lib/php/20210903/gd.so: undefined symbol: gdImageCreateFromAvif), /usr/lib/php/20210903/gd.so.so (/usr/lib/php/20210903/gd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20210903/gd.so' (tried: /usr/lib/php/20210903/gd.so (/usr/lib/php/20210903/gd.so: undefined symbol: gdImageCreateFromAvif), /usr/lib/php/20210903//usr/lib/php/20210903/gd.so.so (/usr/lib/php/20210903//usr/lib/php/20210903/gd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
✓ composer Added composer 2.3.9
==> Setup Coverage
PHP Warning: PHP Startup: Unable to load dynamic library 'gd.so' (tried: /usr/lib/php/20210903/gd.so (/usr/lib/php/20210903/gd.so: undefined symbol: gdImageCreateFromAvif), /usr/lib/php/20210903/gd.so.so (/usr/lib/php/20210903/gd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20210903/gd.so' (tried: /usr/lib/php/20210903/gd.so (/usr/lib/php/20210903/gd.so: undefined symbol: gdImageCreateFromAvif), /usr/lib/php/20210903//usr/lib/php/20210903/gd.so.so (/usr/lib/php/20210903//usr/lib/php/20210903/gd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
✓ xdebug Xdebug 3.2.0-dev enabled as coverage driver
==> #StandWithUkraine
✓ read-more https://setup-php.com/support-ukraine
I noticed that we use the discouraged master version of your action. I migrated over to v2 and got the same error: nextcloud/mail#6874
Version
I have checked releases, and the bug exists in the latest patch version of v2 and master.
master
v2
Runners
GitHub Hosted
Self Hosted
Operating systems ubuntu-latest
PHP versions 8.2 – resolves to 8.2.0-dev (56804e32216574c66cf71359a8a8830e7badc757)
To Reproduce
- name: Set up php${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype,curl,dom,gd,iconv,intl,json,mbstring,openssl,posix,sqlite,xml,zip,gmp
coverage: xdebug
Expected behavior
GD installs and can be used.
Screenshots/Logs
PHP Warning: PHP Startup: Unable to load dynamic library 'gd.so' (tried: /usr/lib/php/20210903/gd.so (/usr/lib/php/20210903/gd.so: undefined symbol: gdImageCreateFromAvif), /usr/lib/php/20210903/gd.so.so (/usr/lib/php/20210903/gd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20210903/gd.so' (tried: /usr/lib/php/20210903/gd.so (/usr/lib/php/20210903/gd.so: undefined symbol: gdImageCreateFromAvif), /usr/lib/php/20210903//usr/lib/php/20210903/gd.so.so (/usr/lib/php/20210903//usr/lib/php/20210903/gd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP module GD not installed.
Please ask your server administrator to install the module.
PHP Installed PHP 8.2.0-dev (b107b819c87c1f93b4f22bddda8232c3548d5698) was the last version that passed, PHP Installed PHP 8.2.0-dev (56804e32216574c66cf71359a8a8830e7badc757) was the first that showed the gd error on our CI.
Describe the bug
PHP8.2 setup with the gd extension has failed us for a few days now with
I noticed that we use the discouraged
master
version of your action. I migrated over tov2
and got the same error: nextcloud/mail#6874Version
v2
andmaster
.master
v2
Runners
Operating systems
ubuntu-latest
PHP versions
8.2
– resolves to8.2.0-dev (56804e32216574c66cf71359a8a8830e7badc757)
To Reproduce
Expected behavior
GD installs and can be used.
Screenshots/Logs
Additional context
Run can be seen at https://github.com/nextcloud/mail/runs/7320351726?check_suite_focus=true
Are you willing to submit a PR?
Sure!
The text was updated successfully, but these errors were encountered: