News for hackers. Stuff that matters.
Re:Fourteen Years of Go by dragonwriter on Saturday November 11, 2023 @11:42AM (#38231834)
You can vendor compiled dynamically loaded libraries, too, installing them with your program if not available.

If you actually need them to be the same version used by something else on the system, that's still a peoblem, but static compilation doesn't solve that, anyway.

Re:Fourteen Years of Go by kunley on Saturday November 11, 2023 @06:28PM (#38235653)
It is not about vendoring. Vendored dynamic libs would be depending or other libs or even on glibc that does not exist anymore. You can't recreate the dynamic libs environment.

With static you don't need that environment, only the kernel, so yes, static compilation solves the problem.