Finds and loads a shared library, using libNames to find the library
on the file system.
If multiple library names are specified in libNames, a SharedLibLoadException
will only be thrown if all of the libraries fail to load. It will be the head
of an exception chain containing one instance of the exception for each library
that failed.
SharedLibLoadException if the shared library or one of its
dependencies cannot be found on the file system.
SymbolLoadException if an expected symbol is missing from the
library.
Finds and loads a shared library, using libNames to find the library on the file system.
If multiple library names are specified in libNames, a SharedLibLoadException will only be thrown if all of the libraries fail to load. It will be the head of an exception chain containing one instance of the exception for each library that failed.