Using shl_load(3X) or dlopen(3C) with Library-Level Versioning:
Once library-level
versioning is used, calls to shl_load() or dlopen() (see
shl_load(3X)) should specify the actual version of
the library that is to be loaded.
For example, if libA.so is now a symbolic link to libA.so.1, then calls to dynamically load this library should specify the
latest version available when the application is compiled, such as:
shl_load("libA.so.1", BIND_DEFERRED,
0);
This will insure that, when the application is
migrated to a system that has a later version of libA available, the actual version desired is the one that is dynamically
loaded.