Search code examples
clinuxtdengine

linux/sysctl.h: no such file or directory when compiling TDengine in alpine


Alpine is a Linux distribution that I guess it must have the header files. How to solve it in alpine container?


Solution

  • linux-headers should be installed exlicitly in alpine linux.

    apk add linux-headers