Interface Library and Location

The interface consists of a shared library that exports a set of functions. The individual functions are described in Interface Functions. The shared library is called libnatural.so and is contained in the Natural bin directory. In a Natural Security environment the library name is libnatsec.so.

When executing a program that uses the Natural Native Interface, the Natural bin directory must be defined in the environment variable LD_LIBRARY_PATH (or LIBPATH respectively), so that the calling program can locate the interface library and all dependent libraries.

Note:
Depending on the UNIX platform, the file extension may be .sl instead of .so.