ice / framework

Source code of Ice framework
https://www.iceframework.org
BSD 3-Clause "New" or "Revised" License
341 stars 45 forks source link

Could not load ice on alpine #298

Closed waghanza closed 2 years ago

waghanza commented 3 years ago

Hi @mruz,

Following https://github.com/the-benchmarker/web-frameworks/pull/3655#issuecomment-821187318, I added a flag on phpize for alpine (first time I do such a thing).

@see https://github.com/DataDog/dd-trace-php/issues/312

This allow support for alpine since I have a debug symbol loading issue (and then extension could not be loaded).

Regards,

PS : I'm not sure why this debug symbol is required, btw

PSS : I'm not sure travis will help, if you want that ice support alpine

mruz commented 3 years ago

Thanks @waghanza, I will test it. If it works we will need to update in zephir, as config.m4 is overridden when we regenerate the sources.

mruz commented 3 years ago

@waghanza adding lexecinfo flag works. I will think how to add it permanently, but in meanwhile, can you try to export the flag before you install ice:

export LDFLAGS="-lexecinfo"
pecl install ice

PS. Or you can add it to the docker environment variables