3 ms·
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
by dragonwriter 3y ago
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.
- kunley 3y agoIt 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.