A start at getting go install -buildmode=shared to build a package into a dso
and go install -linkshared to link against any dsos it finds.

The latter part doesn't work yet.