Skip to content
This repository has been archived by the owner on Jun 15, 2019. It is now read-only.

libressl-static doesn't build. #5

Closed
pires opened this issue Mar 1, 2017 · 3 comments
Closed

libressl-static doesn't build. #5

pires opened this issue Mar 1, 2017 · 3 comments

Comments

@pires
Copy link
Owner

pires commented Mar 1, 2017

[exec] make[1]: Leaving directory '/netty-tcnative/libressl-static/target/libressl-2.4.5/crypto'
     [exec] compat/getentropy_linux.c:31:26: fatal error: linux/sysctl.h: No such file or directory
     [exec]  #include <linux/sysctl.h>
     [exec]                           ^
     [exec] compilation terminated.
     [exec] make[1]: *** [Makefile:3615: compat/getentropy_linux.lo] Error 1
     [exec] make: *** [Makefile:451: all-recursive] Error 1
@anuraaga
Copy link

I found that if you add linux-headers to the apk install command, libressl will build fine :)

@pires
Copy link
Owner Author

pires commented Mar 18, 2017

Thanks!

@pires pires closed this as completed in 0aaf648 Mar 18, 2017
@kaushalmodi
Copy link

Hello guys,

While searching for the same error message, I landed up on this message. I am seeing the same error on Travis CI which runs Ubuntu 14: https://travis-ci.org/kaushalmodi/hello_musl/builds/440319409#L1332.

I installed sudo apt install linux-headers-$(uname -r), but that didn't help. Would you guys be able to help out?

I need to compile static libressl with musl.

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

No branches or pull requests

3 participants