finds a dynamic library that can be loaded by LibraryFunctionLoad.


  • FindLibrary can be used to locate both Wolfram Libraries and general dynamic libraries.
  • If a relative file name is given, FindLibrary will use $LibraryPath to find the library.
  • If no file name extension is given, FindLibrary will add one appropriate for the current platform: .so on Linux, .dll on Windows, .dylib on Mac OS X.
  • FindLibrary is used by library functions such as LibraryFunctionLoad to find libraries.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

This finds the sample library called demo:

Click for copyable input
Introduced in 2010
Translate this page: