4 ms·
You could have both, in theory. Ie, use static linking unless a compatible version of the library is present on disk with a higher version number at runtime.
by zaarn 8y ago
You could have both, in theory. Ie, use static linking unless a compatible version of the library is present on disk with a higher version number at runtime.
- AnIdiotOnTheNet 8y agoThat won't prevent the higher version from breaking your application.
- zaarn 8y agoIn theory it could, simply remove the newer version and the app uses it's internal library again. Or alternatively, like LD_PRELOAD, just have an env variable; LD_DONT_PRELOAD. Though that would make it more complicated.