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

Unable to install on MacOs Catalina #29

Closed
CalfCrusher opened this issue Jun 28, 2022 · 4 comments
Closed

Unable to install on MacOs Catalina #29

CalfCrusher opened this issue Jun 28, 2022 · 4 comments

Comments

@CalfCrusher
Copy link

Hello, i'm unable to install the tool on MacOs Catalina

$ go install github.com/pwnesia/dnstake/cmd/dnstake@latest

# golang.org/x/sys/unix
../go/pkg/mod/golang.org/x/sys@v0.0.0-20190924154521-2837fb4f24fe/unix/zsyscall_darwin_amd64.go:28:3: //go:linkname must refer to declared function or variable
../go/pkg/mod/golang.org/x/sys@v0.0.0-20190924154521-2837fb4f24fe/unix/zsyscall_darwin_amd64.go:43:3: //go:linkname must refer to declared function or variable
../go/pkg/mod/golang.org/x/sys@v0.0.0-20190924154521-2837fb4f24fe/unix/zsyscall_darwin_amd64.go:59:3: //go:linkname must refer to declared function or variable
../go/pkg/mod/golang.org/x/sys@v0.0.0-20190924154521-2837fb4f24fe/unix/zsyscall_darwin_amd64.go:75:3: //go:linkname must refer to declared function or variable
../go/pkg/mod/golang.org/x/sys@v0.0.0-20190924154521-2837fb4f24fe/unix/zsyscall_darwin_amd64.go:90:3: //go:linkname must refer to declared function or variable
../go/pkg/mod/golang.org/x/sys@v0.0.0-20190924154521-2837fb4f24fe/unix/zsyscall_darwin_amd64.go:105:3: //go:linkname must refer to declared function or variable
../go/pkg/mod/golang.org/x/sys@v0.0.0-20190924154521-2837fb4f24fe/unix/zsyscall_darwin_amd64.go:121:3: //go:linkname must refer to declared function or variable
../go/pkg/mod/golang.org/x/sys@v0.0.0-20190924154521-2837fb4f24fe/unix/zsyscall_darwin_amd64.go:136:3: //go:linkname must refer to declared function or variable
../go/pkg/mod/golang.org/x/sys@v0.0.0-20190924154521-2837fb4f24fe/unix/zsyscall_darwin_amd64.go:151:3: //go:linkname must refer to declared function or variable
../go/pkg/mod/golang.org/x/sys@v0.0.0-20190924154521-2837fb4f24fe/unix/zsyscall_darwin_amd64.go:166:3: //go:linkname must refer to declared function or variable
../go/pkg/mod/golang.org/x/sys@v0.0.0-20190924154521-2837fb4f24fe/unix/zsyscall_darwin_amd64.go:166:3: too many errors

Any hints?

@dwisiswant0
Copy link
Collaborator

What's your go version.

@CalfCrusher
Copy link
Author

go1.18.2 darwin/amd64

@dwisiswant0
Copy link
Collaborator

go1.18.2 darwin/amd64

Try these for temporary workaround:

$ git clone https://github.com/pwnesia/dnstake
$ cd dnstake/
$ go get -u golang.org/x/sys
$ go build -o $GOPATH/bin/dnstake cmd/dnstake/dnstake.go
$ dnstake -h

Let me know what happens next.

@CalfCrusher
Copy link
Author

CalfCrusher commented Jun 29, 2022

It works now, thanks for the fix ;)

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