diff options
| author | John Ogness <john.ogness@linutronix.de> | 2018-01-22 11:48:56 +0000 |
|---|---|---|
| committer | John Ogness <john.ogness@linutronix.de> | 2018-02-20 14:58:34 +0100 |
| commit | abc03682de0b05e165a8deb6f505849870179d61 (patch) | |
| tree | ec998ab1535c933391f2913f84d7489373ea41f0 | |
| parent | 5f3f91a908171af63afe4565ca1547a2bdd6f628 (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>
| -rw-r--r-- | application-devel/embedded-devel/pres_embedded-devel_en.tex | 20 |
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: |
