nerdexam
LPI

117-102 · Question #456

What command would rebuild the ld.so.cache file?

The correct answer is B. ldconfig. ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories (/lib and /usr/lib). The cache is used by the run-time linker, ld.so or…

108 Essential System Services

Question

What command would rebuild the ld.so.cache file?

Options

  • Aldd
  • Bldconfig
  • Cld.so.cache-rebuild
  • Dld

How the community answered

(30 responses)
  • A
    13% (4)
  • B
    77% (23)
  • C
    7% (2)
  • D
    3% (1)

Explanation

ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories (/lib and /usr/lib). The cache is used by the run-time linker, ld.so or ld-linux.so. ldconfig checks the header and file names of the libraries it encounters when determining which versions should have their links updated.

Topics

#ldconfig#shared libraries#ld.so.cache#dynamic linker

Community Discussion

No community discussion yet for this question.

Full 117-102 Practice