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 'intl.so' #739

Closed
3 of 5 tasks
ramsey opened this issue Jun 7, 2023 · 3 comments
Closed
3 of 5 tasks

Unable to load dynamic library 'intl.so' #739

ramsey opened this issue Jun 7, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@ramsey
Copy link

ramsey commented Jun 7, 2023

Describe the bug

When I try installing the intl extension on PHP 8.2, I get the following error:

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

This issue sounds similar to #722, but I'm not sure if it's the same problem.

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

PHP versions

  • PHP 8.2

To Reproduce

Here's the step I'm using in my GitHub Actions yml file:

      - name: "Install PHP"
        uses: "shivammathur/[email protected]"
        with:
          php-version: "latest"
          extensions: "intl-73.1"
          coverage: "none"
        env:
          debug: true
          phpts: "ts"

Expected behavior

The intl extension should load.

Screenshots/Logs

Additional context

I've tried this with ICU version 67.1 and 73.1 (trying to see if maybe 67.1 had trouble on PHP 8.2).

You can see the failed runs for both, here:

Are you willing to submit a PR?

I'm willing to submit one if you give me a few pointers for where to get started. 🙂

@ramsey ramsey added the bug Something isn't working label Jun 7, 2023
@shivammathur
Copy link
Owner

shivammathur commented Jun 7, 2023

Hi Ben, thanks for the sponsorship 🙂

I have added support for zts intl builds in 12282c9 and shivammathur/icu-intl@d6ee42c.

This will be in the next release.

@shivammathur shivammathur added the awaiting-release Added/Fixed and tested, awaiting release label Jun 7, 2023
@ramsey
Copy link
Author

ramsey commented Jun 7, 2023

Thanks!

@shivammathur
Copy link
Owner

@shivammathur shivammathur removed the awaiting-release Added/Fixed and tested, awaiting release label Jun 12, 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