Error while compiling caddy version 2

I have downloaded the v2 branch and compiled as stated within the README file.
The last step don’t work. /usr/bin/ld tell:

 /usr/bin/ld: .../.cache/go-build/b7/b74834ea08c34159b21cac3559471c5eecd3aa922c871ed10aab556b010ce9fe-d(_go_.o): in function `go.starlark.net..z2fstarlark.hashString':
.../go/pkg/mod/go.starlark.net@v0.0.0-20190604130855-6ddc71c0ba77/starlark/hashtable.go:357: undefined reference to `runtime.stringHash'
collect2: error: ld returned 1 exit status

What is to do in order to resolve this?

The problem is is resolved. I had installed gcc-go. After uninstallig gcc-go I wath able to compile caddy V2

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.