I have a set of command line programs that depend on a set of shared libraries. They are called quite often, so in any given second it is likely that one of these programs will be launched.
When I "yum install" a new set of libraries, it often happens that the launch of one of these program will fail with the message
error while loading shared libraries: foo.so.0: cannot open shared object file: No such file or directory
a few moments later, everything is fine again, but the script that might have been running for a few hours has failed.
It sometimes reports several missing libraries, suggesting that yum is not installing them one at a time.
We've recently switched versions of Linux, and therefore yum. This happened only rarely with Centos6 and yum 3.2.29, but much much more often with Linux 4.1.17 and yum 3.4.3.
Is there anything that can be done to ameliorate this behavior? To minimize the amount of time during which a library is missing?