ligolo
ligolo copied to clipboard
Make : unsupported GOOS/GOARCH pair darwin/386
When trying to make build-all
on the latest Kali release, I get an error about an unsupported OS.
Go version : go1.15.8 linux/amd64
make build-all
gox -osarch="linux/amd64 linux/386 linux/arm windows/amd64 windows/386 darwin/amd64 darwin/386" -ldflags="-s -w -X main.tlsFingerprint=$(openssl x509 -fingerprint -sha256 -noout -in 'certs/cert.pem' | cut -d '=' -f2)" -gcflags="all=-trimpath=OPATH" -tags release -output "bin/ligolo_{{.OS}}_{{.Arch}}" ./cmd/ligolo
Number of parallel builds: 3
--> linux/386: ligolo/cmd/ligolo
--> darwin/amd64: ligolo/cmd/ligolo
--> darwin/386: ligolo/cmd/ligolo
--> linux/amd64: ligolo/cmd/ligolo
--> windows/amd64: ligolo/cmd/ligolo
--> linux/arm: ligolo/cmd/ligolo
--> windows/386: ligolo/cmd/ligolo
1 errors occurred:
--> darwin/386 error: exit status 2
Stderr: cmd/go: unsupported GOOS/GOARCH pair darwin/386
make: *** [Makefile:33: build-all] Error 1
To fix this, I had to remove the "darwin/386" from the line 11 of the Maketile.
you can edit your Makefile, if you dont use it in darwin ,so you can delete this arch
Yeah, I know.
My point is that from Kali I can't compile it fror the architecture darwmin/386
. So I don't know if compiling it from other systems than Kali it works ;)