LX0-103 Exam QuestionsBrowse all questions from this exam

LX0-103 Exam - Question 28


Which of the following commands updates the linker cache of shared libraries?

Show Answer
Correct Answer: E

The ldconfig command is used to update the linker cache of shared libraries. This command is essential for ensuring that the system can properly locate and link to the necessary shared libraries after they have been installed, updated, or removed. The linker cache, stored in the /etc/ld.so.cache file, contains important information about the system's shared libraries, and ldconfig keeps this cache up-to-date.

Discussion

1 comment
Sign in to comment
linux_admin
Feb 12, 2023

E. ldconfig The ldconfig command is used to update the linker cache, which is a database of information about shared libraries that the system uses to link programs with the libraries they depend on. The linker cache is stored in the /etc/ld.so.cache file. When new libraries are installed on the system, or when libraries are updated or removed, the linker cache may become outdated. The ldconfig command is used to update the linker cache with information about the new, updated, or removed libraries, so that the system can find and link with the correct version of the library.