Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load dynamic library '/usr/lib/php/20210902/event.so' #722

Closed
2 of 5 tasks
andreilutski opened this issue Apr 18, 2023 · 2 comments
Closed
2 of 5 tasks
Assignees
Labels
bug Something isn't working

Comments

@andreilutski
Copy link

Describe the bug

Installing event extension throws an error:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20210902/event.so' (tried: /usr/lib/php/20210902/event.so (/usr/lib/php/20210902/event.so: undefined symbol: socket_ce), /usr/lib/php/20210902//usr/lib/php/20210902/event.so.so (/usr/lib/php/20210902//usr/lib/php/20210902/event.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

Maybe something going on here with this doubling? /usr/lib/php/20210902//usr/lib/php/20210902/event.so.so (/usr/lib/php/20210902//usr/lib/php/20210902/event.so.so: cannot open shared object file: No such file or directory)

Version

  • I have checked releases, and the bug exists in the latest patch version of v1 or v2.
  • v2
  • v1

Runners

  • GitHub Hosted
  • Self Hosted

Operating systems

Ubuntu 22.04

PHP versions

8.1.17

To Reproduce

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: 8.1
      extensions: calendar, event, exif, gd, imagick, intl, mysqli, soap, sockets, opcache, zip
      tools: composer

Expected behavior

The event extension to be installed and enabled.

Screenshots/Logs

Screenshot 2023-04-18 at 17 08 41

Additional context

Just a plain PHP setup to run paratest.

Are you willing to submit a PR?

If I knew how to fix it.

@andreilutski andreilutski added the bug Something isn't working label Apr 18, 2023
@shivammathur
Copy link
Owner

@andreilutski
Fixed in 19323ea. Will be in the next release.

@shivammathur shivammathur added the awaiting-release Added/Fixed and tested, awaiting release label Apr 18, 2023
@shivammathur
Copy link
Owner

Released in 2.25.1

@shivammathur shivammathur removed the awaiting-release Added/Fixed and tested, awaiting release label Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants