/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
minzak commented
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
bmanojlovic commented
You are missing libcap development package please install it and try again
…On Fri, 6 Apr 2018, 12:58 Olexandr Minzak, ***@***.***> wrote:
***@***.***:/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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#301>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAMOImB0ojc7YPMUqW5nYnCO1W1NAVr3ks5tl0prgaJpZM4TJ3ww>
.
hlandau commented
As said, you need the development libraries for libcap installed. This is package libcap-dev
on most distros.