foreign-library.
Load the library indicated by library. A library designator is defined as follows:
define-foreign-library.
*foreign-library-directories* with
cl:probe-file; if found, the absolute path is passed to the
implementation's loader.
(first library):
:framework*darwin-framework-directories*, and loaded
when found.
:or:defaultIf the load fails, signal a load-foreign-library-error.
Please note: For system libraries, you should not need to specify the directory containing the library. Each operating system has its own idea of a default search path, and you should rely on it when it is reasonable.
On ECL platforms where its dynamic FFI is not supported (ie. when
:dffi is not present in *features*),
cffi:load-foreign-library does not work and you must use ECL's
own ffi:load-foreign-library with a constant string argument.
See Loading foreign libraries.
close-foreign-library
*darwin-framework-directories*
define-foreign-library
*foreign-library-directories*
load-foreign-library-error
use-foreign-library