On Linux OS I have an executable execA which has a dynamic library dependency on libB.so, and that library has a dynamic library dependency on libC.so. The trouble is, on one machine these dependencies work out perfectly fine, but on another machine there is a problem with dependency between libB.so and libC.so (libC.so cannot be found).
Where should I start looking first to resolve this dependency issue?
P.S. An outline of how the dynamic library searches are done would be wonderful.