summaryrefslogtreecommitdiff
path: root/application-devel
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2018-01-22 11:48:56 +0000
committerJohn Ogness <john.ogness@linutronix.de>2018-02-20 14:58:34 +0100
commitabc03682de0b05e165a8deb6f505849870179d61 (patch)
treeec998ab1535c933391f2913f84d7489373ea41f0 /application-devel
parent5f3f91a908171af63afe4565ca1547a2bdd6f628 (diff)
embedded-devel: add ld.so.cache info
We talk about the dynamic loader, so let's talk about how to configure it too. Signed-off-by: John Ogness <john.ogness@linutronix.de>
Diffstat (limited to 'application-devel')
-rw-r--r--application-devel/embedded-devel/pres_embedded-devel_en.tex20
1 files changed, 20 insertions, 0 deletions
diff --git a/application-devel/embedded-devel/pres_embedded-devel_en.tex b/application-devel/embedded-devel/pres_embedded-devel_en.tex
index a405249..2440554 100644
--- a/application-devel/embedded-devel/pres_embedded-devel_en.tex
+++ b/application-devel/embedded-devel/pres_embedded-devel_en.tex
@@ -506,6 +506,26 @@ $ objdump -x hello2 | grep PATH
\end{verbatim}
\end{frame}
+\begin{frame}[containsverbatim]
+\frametitle{The Dynamic Loader Cache}
+The paths used to fill the ld.so.cache are listed in /etc/ld.so.conf and within .conf files in the /etc/ld.so.conf.d/ directory.
+\begin{verbatim}
+$ find /etc/ld.so.conf* -type f
+/etc/ld.so.conf
+/etc/ld.so.conf.d/fakeroot-x86_64-linux-gnu.conf
+/etc/ld.so.conf.d/libc.conf
+/etc/ld.so.conf.d/x86_64-linux-gnu.conf
+\end{verbatim}
+view the dynamic loader cache
+\begin{verbatim}
+/sbin/ldconfig -p
+\end{verbatim}
+update the dynamic loader cache
+\begin{verbatim}
+sudo /sbin/ldconfig
+\end{verbatim}
+\end{frame}
+
\begin{frame}
\frametitle{The Dynamic Loader}
Awareness and understanding of the dynamic loader leads to: