evilsocket / opensnitch

OpenSnitch is a GNU/Linux interactive application firewall inspired by Little Snitch.
GNU General Public License v3.0
10.91k stars 509 forks source link

LMDE3 install failed at make #218

Closed PeetsB closed 3 years ago

PeetsB commented 6 years ago

Clean system install - Go, Python all installed and environment variables set accordingly. Looks like file stdlib-bsearch.h is missing. Any workaround?

`make[1]: Entering directory '/home/peter/go/src/github.com/evilsocket/opensnitch/proto' python3 -m grpc_tools.protoc -I. --python_out=../ui/opensnitch/ --grpc_python_out=../ui/opensnitch/ ui.proto make[1]: Leaving directory '/home/peter/go/src/github.com/evilsocket/opensnitch/proto' make[1]: Entering directory '/home/peter/go/src/github.com/evilsocket/opensnitch/daemon'

github.com/evilsocket/opensnitch/daemon/netfilter

In file included from ./queue.h:5:0, from netfilter/queue.go:8: /usr/include/stdlib.h:720:11: fatal error: bits/stdlib-bsearch.h: No such file or directory

include <bits/stdlib-bsearch.h>

       ^~~~~~~~~~~~~~~~~~~~~~~

compilation terminated. make[1]: [Makefile:13: opensnitchd] Error 2 make[1]: Leaving directory '/home/peter/go/src/github.com/evilsocket/opensnitch/daemon' make: [Makefile:11: daemon/opensnitchd] Error 2 `

gustavo-iniguez-goya commented 3 years ago

stdlib-bsearch.h is part of the libc6-dev package, on Debian based systems at least. Double check that you have it installed.

This problem could also arise if you were compiling the daemon for other architecture, arm for example. Reopen the issue if the problem still occurs please.