About the inability to encrypt statically compiled files in Linux
Posted: Mon Jul 29, 2024 3:04 pm
I used golang to compile the binary file, but it prompted me: "file golangfile has an unsupported subsystemp"
My compilation syntax is
My compilation syntax is
Code: Select all
export CGO_ENABLED=1
export GOOS=linux
export GOARCH=amd64
export CC=/usr/local/musl/bin/musl-gcc
go build -ldflags '-w -s -extldflags "-static" -buildid=' -o golang-Linux-x64 main.go