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/pkg/mod/ 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.