3 ms·
What are the headaches with shared libraries? Assuming that you pin the version of the library you need, two applications using the same library /shouldn't/ ca
by onlyrealcuzzo 4y ago
What are the headaches with shared libraries?
Assuming that you pin the version of the library you need, two applications using the same library /shouldn't/ cause issues.
In most *nix systems - each instance of a shared library has its own data.
- rattlesnakedave 4y ago“ Assuming that you pin the version of the library you need, two applications using the same library /shouldn't/ cause issues.” Then why bother?
- waynecochran 4y agoI am assuming you know the answer to the question if you have been developing code for awhile. What makes the problem worse is that it is transitive. I link against Colmap libs, which links against Ceres libs, which links against OpenMP, … these are ever changing code bases and I have to create executables that run on local machines, Azure cloud machines, AWS cloud machines, … chafed down shared lib mismatches becomes a nightmare.