wasmerio / wasmer-php

🐘🕸️ WebAssembly runtime for PHP
https://wasmerio.github.io/wasmer-php/wasm/
MIT License
1k stars 42 forks source link

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

Open lackoxygen opened 1 year ago

lackoxygen commented 1 year ago

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: