hlandau/acmetool

/root/go/src/gopkg.in/hlandau/svcutils.v1/caps/caps-linuxc.go:9:28: fatal error: sys/capability.h: No such file or directory

minzak opened this issue · 2 comments

Debian 8.10 + last go 1.10

root@server:/usr/src/acme# make
        [RELOCATE]
        [GO-GET]          github.com/hlandau/acme
# gopkg.in/hlandau/svcutils.v1/caps
/root/go/src/gopkg.in/hlandau/svcutils.v1/caps/caps-linuxc.go:9:28: fatal error: sys/capability.h: No such file or directory
 #include <sys/capability.h>
                            ^
compilation terminated.
Makefile:76: recipe for target '.gotten' failed
make: *** [.gotten] Error 2

As said, you need the development libraries for libcap installed. This is package libcap-dev on most distros.