Linkshared libraries

Hello everyone,
I’m trying re build standard library(does not matter which std library or third party library) for dynamic linked apps, but I get this error :
sudo /snap/bin/go build -buildmode=shared -linkshared std

/snap/go/6274/pkg/tool/linux_amd64/link: cannot implicitly include runtime/cgo in a shared library

is anyone have this problem? how I can solve it?

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