[bootlin/training-materials updates] master: labs/sysdev-tinysystem: explain ld-uClibc.so.0 better (97ec1943)

Michael Opdenacker michael.opdenacker at bootlin.com
Tue Apr 4 11:56:40 CEST 2023


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/97ec1943bc603b207c22593764fffa0dc87ea285

>---------------------------------------------------------------

commit 97ec1943bc603b207c22593764fffa0dc87ea285
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Tue Apr 4 11:55:45 2023 +0200

    labs/sysdev-tinysystem: explain ld-uClibc.so.0 better
    
    Explaining how this missing executable can be found.
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


>---------------------------------------------------------------

97ec1943bc603b207c22593764fffa0dc87ea285
 labs/sysdev-tinysystem/sysdev-tinysystem.tex | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/labs/sysdev-tinysystem/sysdev-tinysystem.tex b/labs/sysdev-tinysystem/sysdev-tinysystem.tex
index f52f1ecb..e26a73cd 100644
--- a/labs/sysdev-tinysystem/sysdev-tinysystem.tex
+++ b/labs/sysdev-tinysystem/sysdev-tinysystem.tex
@@ -245,7 +245,16 @@ did during the toolchain lab}, and run it on the target.
 You will first encounter a very misleading \code{not found} error,
 which is not because the \code{hello} executable is not found, but
 because something else was not found while trying to execute
-this executable. What's missing is the \code{ld-uClibc.so.0}
+this executable.
+
+You can find it by running \code{file hello} on the host:
+
+\begin{verbatim}
+hello: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked,
+interpreter /lib/ld-uClibc.so.0, not stripped
+\end{verbatim}
+
+So, what's missing is the \code{/lib/ld-uClibc.so.0}
 executable, which is the dynamic linker required to execute any
 program compiled with shared libraries. Using the \code{find}
 command, look for this file in the toolchain install directory,




More information about the training-materials-updates mailing list