SharedLibLoader.load

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 exceptin chain containing one instance of the exception for each library that failed.

Parameters

libNames
Type: string

A string containing one or more comma-separated shared library names.

Throws

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.

Examples

If this loader supports versions 2.0 and 2.1 of a shared libary, this method will attempt to load 2.1 and will fail if only 2.0 is present on the system.

Meta