Skip to content

In the mac environment php8.x Unable to load dynamic library 'wasm' #149

@lackoxygen

Description

@lackoxygen

error message:

Warning: PHP Startup: Unable to load dynamic library 'wasm' (tried: /usr/local/lib/php/pecl/20210902/wasm (dlopen(/usr/local/lib/php/pecl/20210902/wasm, 0x0009): tried: '/usr/local/lib/php/pecl/20210902/wasm' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/php/pecl/20210902/wasm' (no such file), '/usr/local/lib/php/pecl/20210902/wasm' (no such file)), /usr/local/lib/php/pecl/20210902/wasm.so (dlopen(/usr/local/lib/php/pecl/20210902/wasm.so, 0x0009): symbol not found in flat namespace '_wasm_exporttype_copy')) in Unknown on line 0

I tried to remove the wasm_exporttype_copy method and reinstall, the error still exists

environment:

  • mac-13.3.1
  • php-8.0
  • php-8.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions