cmd/go: go install buildmode=shared doesn't work without first building the standard library #12136
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (go version)?
go1.5rc1
What operating system and processor architecture are you using?
linux 3.4 & amd64
What did you do?
'go install -buildmode=shared ./...' in my package directory
What did you expect to see?
Clean build of my package and a resulting shared library.
What did you see instead?
An error message:
multiple roots /home/aaronb/go/pkg/linux_amd64_dynlink & /home/aaronb/gosrc/pkg/linux_amd64_dynlink
I started a discussion on golang-nuts and was told that I need to build the standard library as a shared library first and then build my package, linking it to the standard library.
The text was updated successfully, but these errors were encountered: