Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/link: linking with -linkshared fails if a package depends on a method in another pkg indirectly #22998
What version of Go are you using (
Oops, sorry for missing this. I can reproduce the problem with the supplied script.
I guess the linker needs to be fixed to load any go shared libraries that are dependencies of ones it loads. This suuuper simple patch seems to fix it:
but that almost too easy...