my intention here is not to create another duplicate thread similar to what is the difference between different 'lib' folder in ubuntu
I have a cluster of machines, all running either Ubuntu 12.04 or 14.04 (we have potentially up to 2 versions during transition periods). I need to run the same program on all machines, and this program is dependent on a *.so file that comes with Ubuntu in /usr/lib/ folder. However it turns out that different machines have different versions of this *.so file, which creates issues.
My question is the following: Is it possible (and recommended) to create a library folder shared by all machines of the domain, for instance we could mount at startup, that contains one version of this file, and that would have priority over the other local lib folders (to ensure that this shared version is always selected)?