Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unable to use ev library #844

@Kovah

Description

@Kovah

Describe the bug
i was trying to use the ev library in a pipeline, but I am unable to install it with the Setup PHP action.

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-latest

PHP versions
8.3.7

To Reproduce

  - name: Setup PHP
    uses: shivammathur/setup-php@v2
    with:
      php-version: 8.3
      extensions: mbstring, bcmath, redis, swoole, ev, sockets
      coverage: xdebug

Expected behavior
EV to be installed.

Screenshots/Logs

==> Setup PHP
✓ PHP Installed PHP 8.3.7

==> Setup Extensions
✓ mbstring Enabled
✓ bcmath Enabled
✓ redis Enabled
✓ swoole Enabled
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20230831/ev.so' (tried: /usr/lib/php/20230831/ev.so (/usr/lib/php/20230831/ev.so: undefined symbol: socket_ce), /usr/lib/php/20230831//usr/lib/php/20230831/ev.so.so (/usr/lib/php/20230831//usr/lib/php/20230831/ev.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
✗ ev Could not install ev on PHP 8.3.7
✓ sockets Enabled

Additional context
I guess that it needs the same fix as the event extension as described as a fix in #722

Are you willing to submit a PR?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions