CompTIA
LX0-103 · Question #3
LX0-103 Question #3: Real Exam Question with Answer & Explanation
The correct answer is E: ldconfig. The ldconfig command updates the dynamic linker's cache of shared libraries, ensuring newly installed libraries are discoverable at runtime. The other listed commands do not exist as standard Linux utilities.
Linux Installation and Package Management
Question
Which of the following commands updates the linker cache of shared libraries?
Options
- Amkcache
- Bsoconfig
- Cmkldconfig
- Dlddconfig
- Eldconfig
Explanation
The ldconfig command updates the dynamic linker's cache of shared libraries, ensuring newly installed libraries are discoverable at runtime. The other listed commands do not exist as standard Linux utilities.
Common mistakes.
- A.
mkcacheis not a standard Linux command for managing the shared library linker cache. - B.
soconfigis not a standard Linux command and does not exist for this purpose. - C.
mkldconfigis not a standard Linux command for updating the linker cache. - D.
lddconfigis not a standard Linux command - it is a confusion withldd(which lists shared library dependencies of a binary) andldconfig.
Concept tested. Updating the dynamic linker shared library cache
Reference. https://man7.org/linux/man-pages/man8/ldconfig.8.html
Topics
#ldconfig#shared libraries#linker cache#dynamic linking
Community Discussion
No community discussion yet for this question.