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

Could not load ice on alpine #298

Closed
wants to merge 1 commit into from
Closed

Could not load ice on alpine #298

wants to merge 1 commit into from

Conversation

waghanza
Copy link

@waghanza waghanza commented Apr 18, 2021

Hi @mruz,

Following the-benchmarker/web-frameworks#3655 (comment), I added a flag on phpize for alpine (first time I do such a thing).

@see DataDog/dd-trace-php#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
Copy link
Member

mruz commented Apr 19, 2021

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
Copy link
Member

mruz commented Apr 20, 2021

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants