<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\hypertarget{dl_8c}{}\doxysection{dl.\+c File Reference}
\label{dl_8c}\index{dl.c@{dl.c}}


Loading modules under linux.  


{\ttfamily \#include $&lt;$kdbconfig.\+h$&gt;$}\newline
{\ttfamily \#include $&lt;$kdbmacros.\+h$&gt;$}\newline
{\ttfamily \#include $&lt;$dlfcn.\+h$&gt;$}\newline
{\ttfamily \#include $&lt;$kdberrors.\+h$&gt;$}\newline
{\ttfamily \#include $&lt;$kdbmodule.\+h$&gt;$}\newline
{\ttfamily \#include $&lt;$stdlib.\+h$&gt;$}\newline
{\ttfamily \#include $&lt;$string.\+h$&gt;$}\newline
Include dependency graph for dl.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{dl_8c__incl}
\end{center}
\end{figure}


\doxysubsection{Detailed Description}
Loading modules under linux. 

\begin{DoxyCopyright}{Copyright}
BSD License (see LICENSE.\+md or \href{https://www.libelektra.org}{\texttt{ https\+://www.\+libelektra.\+org}})
\end{DoxyCopyright}
The name of the module will be libname. A .so will be appended. This file will be loaded.

The path were the plugins are located, e.\+g. /usr/src/elektra need to be added with LD\+\_\+\+LIBRARY\+\_\+\+PATH.

The reason is that only LD\+\_\+\+LIBRARY\+\_\+\+PATH also loads libraries which are seen by symlink only. That feature is needed for libelektra-\/default.

The buildsystem makes sure that dlfcn.\+h exists. </pre></body></html>