jackwilsdon / seedvault-extractor

MIT License
30 stars 7 forks source link

Building fails on Ubuntu 20.04.6 LTS #1

Closed fabian-thomas closed 1 year ago

fabian-thomas commented 1 year ago

I get the following when building on Ubuntu 20.04.6 LTS:

build github.com/jackwilsdon/seedvault-extractor/cmd/extract: cannot load crypto/ecdh: malformed module path "crypto/ecdh": missing dot in first path element

I did not find a way to fix this quickly. Maybe you have some idea. grep -iR ecdh returns nothing so probably it has to do with a dependency?

On Arch the binary builds fine.

jackwilsdon commented 1 year ago

What's the output of go version on your system? seedvault-extractor depends on golang.org/x/crypto v0.8.0 which needs crypto/ecdh, which was only introduced in Go 1.20.

fabian-thomas commented 1 year ago

go version go1.13.8 linux/amd64, so thats the problem.

jackwilsdon commented 1 year ago

Yep. You should be able to copy the compiled binary from your Arch machine, as Go binaries are static. I'll add a note to the README indicating the required Go version.