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

/tmp/go-build468379734/b201/libstd.so
/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?
Thanks

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