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

execinfo error when compiling with musl-libc (Alpine Linux) #2328

Closed
axelu opened this issue May 18, 2020 · 0 comments
Closed

execinfo error when compiling with musl-libc (Alpine Linux) #2328

axelu opened this issue May 18, 2020 · 0 comments

Comments

@axelu
Copy link
Contributor

axelu commented May 18, 2020

Trying to build latest sources respectively master on Alpine (Alpine latest stable 3.11).

[ 29%] Building C object CMakeFiles/h2o-httpclient.dir/src/httpclient.c.o
/home/axel/h2o/src/httpclient.c:25:10: fatal error: execinfo.h: No such file or directory
   25 | #include <execinfo.h>
      |          ^~~~~~~~~~~~
compilation terminated.

Alpine with musl-libc does not provide such a header by default.
I found a similar issue described at awslabs/aws-c-common#322.

To get over the error for now, I added libexecinfo-dev package via apk on Alpine, but I am not sure that is the correct approach.

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

No branches or pull requests

2 participants