Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Build failure without kernel/libc-devel headers #245

Closed
kriszyp opened this issue Nov 26, 2021 · 1 comment
Closed

Build failure without kernel/libc-devel headers #245

kriszyp opened this issue Nov 26, 2021 · 1 comment
Assignees
Labels

Comments

@kriszyp
Copy link

kriszyp commented Nov 26, 2021

I received an error libmdbx/mdbx.c:639:10: fatal error: linux/sysctl.h: No such file or directory when trying to build libmdbx on alpine (docker image node:12.22-alpine):
https://github.com/kriszyp/lmdbx-js/runs/4281817650?check_suite_focus=true#step:6:11
Is lidbmdbx supported on alpine, or do you know if I am missing anything obvious in trying to build on alpine?

@erthink
Copy link
Owner

erthink commented Nov 26, 2021

The linux/sysctl.h is a system/kernel-related header which is available within linux-headers and/or linux-libc-dev packages.

Nonetheless, this header actually not needed for now, i.e. it is an excessively include.
It seems I just forgot to remove its inclusion. I'll fix it now.

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

No branches or pull requests

2 participants