openSharedLibrary name
Open a shared library with the given name. In particular, this is a wrapper around the C dlopen function. A library is searched for with the filename "lib" | name | ".so" (in Linux) or "lib" | name | ".dylib" (in macOS). Alternatively, a specific filename can be specified using the FileName option. A corresponding SharedLibrary object, which can be later used by foreignFunction, is returned.
|
The object openSharedLibrary is a method function with options.
The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/ForeignFunctions.m2:1857:0.