The OpenD Programming Language

SharedLibLoader.load

Finds and loads a shared library, using this loader's default shared library names and default supported shared library version.

If multiple library names are specified as default, 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.

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