({{, (RefLink[LibraryLoad, paclet:ref/LibraryLoad])[lib] 
loads the dynamic library lib into the Wolfram System runtime.}})

OpenersNotesSection(Spacer1)Details

(RefLink[LibraryLoad, paclet:ref/LibraryLoad]) is used to load dependent dynamic libraries needed for a Wolfram Library to operate.

Libraries loaded using (RefLink[LibraryLoad, paclet:ref/LibraryLoad]) do not need to follow the Wolfram Library Link specification.

The order of multiple (RefLink[LibraryLoad, paclet:ref/LibraryLoad]) calls is important and must follow the mutual dependency of the libraries.

LibraryLoad uses FindLibrary to locate libraries searching on $LibraryPath.

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

This loads the sample library demo but does not return a function to call:

LibraryLoad[ "demo"]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[FindLibrary, paclet:ref/FindLibrary])  ▪  (RefLink[LibraryUnload, paclet:ref/LibraryUnload])  ▪  (RefLink[$LibraryPath, paclet:ref/$LibraryPath])  ▪  (RefLink[LibraryFunctionLoad, paclet:ref/LibraryFunctionLoad])  ▪  (RefLink[LibraryFunction, paclet:ref/LibraryFunction])  ▪  (RefLink[FunctionCompileExportLibrary, paclet:ref/FunctionCompileExportLibrary])  ▪  (RefLink[FindFile, paclet:ref/FindFile])  ▪  (RefLink[$Path, paclet:ref/$Path])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Library Link User Guide, paclet:LibraryLink/tutorial/Overview])}, {▪(RefLinkPlain[Interacting with the Wolfram System, paclet:LibraryLink/tutorial/InteractionWithWolframLanguage])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Wolfram LibraryLink, paclet:guide/LibraryLink])}, {▪(RefLinkPlain[C/C++ Language Interface, paclet:guide/CLanguageInterface])}, {▪(RefLinkPlain[Calling External Programs, paclet:guide/CallingExternalPrograms])}})}})