Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing recursor - too many errors (Unbound) - make: *** [Makefile:16: coredns] Error 2 #31

Open
emollusion opened this issue May 16, 2022 · 1 comment

Comments

@emollusion
Copy link

Hi!

I am trying to install the recursor as per the manual instructs but I end up at this error.

When I run make i get the following error:

# github.com/miekg/unbound
/root/go/pkg/mod/github.com/miekg/[email protected]/dns.go:12:10: undefined: Unbound
/root/go/pkg/mod/github.com/miekg/[email protected]/dns.go:16:10: undefined: Unbound
/root/go/pkg/mod/github.com/miekg/[email protected]/dns.go:20:10: undefined: Unbound
/root/go/pkg/mod/github.com/miekg/[email protected]/lookup.go:14:10: undefined: Unbound
/root/go/pkg/mod/github.com/miekg/[email protected]/lookup.go:33:10: undefined: Unbound
/root/go/pkg/mod/github.com/miekg/[email protected]/lookup.go:41:10: undefined: Unbound
/root/go/pkg/mod/github.com/miekg/[email protected]/lookup.go:55:10: undefined: Unbound
/root/go/pkg/mod/github.com/miekg/[email protected]/lookup.go:84:10: undefined: Unbound
/root/go/pkg/mod/github.com/miekg/[email protected]/lookup.go:97:10: undefined: Unbound
/root/go/pkg/mod/github.com/miekg/[email protected]/lookup.go:116:10: undefined: Unbound
/root/go/pkg/mod/github.com/miekg/[email protected]/lookup.go:116:10: too many errors
make: *** [Makefile:16: coredns] Error 2

System:
Linux dns-recursor-test 5.4.0-94-generic coredns/deployment#106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Any ideas?

Thank you!

@silasb
Copy link

silasb commented Jul 8, 2022

You need to compile it with CGO_ENABLED=1 make

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

No branches or pull requests

2 participants