Linux Administration
medium

Pregunta de Linux Administration #019e3987

Enunciado de la Pregunta
Linux Administration
#ld_library_path
#ld.so
#shared-libraries
#dynamic-linker
#library-path
Medio

Which of the following environment variables overrides or extends the list of directories holding shared libraries?

A

LD_LOAD_PATH

B

LD_LIB_PATH

C

LD_LIBRARY_PATH

Correcto
D

LD_SHARE_PATH

E

LD_RUN_PATH

Explicación Oficial / Explicaciones de la Comunidad

The environment variable LD_LIBRARY_PATH is used by the dynamic linker/loader (ld.so) to override or extend the default search path for shared libraries at runtime. When a program is executed, the linker searches for required shared libraries in the directories listed in LD_LIBRARY_PATH before consulting the standard system paths (e.g., /lib, /usr/lib, and those listed in /etc/ld.so.conf). This allows users to test custom library versions or run programs with non-standard library locations without modifying system configuration.