Hello,

I've some troubles to compile the extension with PECL.

When running `pecl install`, PECL isn't able to find the shared library. It is defined by `PHP_ADD_LIBRARY_WITH_PATH(wasmer_runtime_c_api, $ac_pwd, WASM_SHARED_LIBADD)` in the `config.m4` file, but the relative path seems to fail, or PECL doesn't copy it in the temporary directory where the extension is compiled, I don't know. Anyone can help me on this one? I've an opened PR to try to fix the problem, https://github.com/wasmerio/php-ext-wasm/pull/76/files.

Also, why publishing a `.so` and a `.dylib` files aren't acceptable? They are shared libraries. By distributing them, the user doesn't need to set up the Rust toolchain to compile the Wasm runtime.

Thanks for your help.

On 23.08.19 07:53, Remi Collet wrote:
Le 22/08/2019 à 17:24, PECL Announce a écrit :
The new PECL package wasm-0.5.0 (stable) has been released at 
https://pecl.php.net/.

Release notes
-------------
# Features

## Extension

* #71 Use pre-build dynamic libraries (@Hywan)
.so in a sources packages doesn't seems acceptable.

More this package don't even build

libtool:   error: unrecognised option: '-I.'


Remi

Reply via email to