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…
Question
Options
- Aldd
- Bldconfig
- Cld.so.cache-rebuild
- Dld
How the community answered
(30 responses)- A13% (4)
- B77% (23)
- C7% (2)
- D3% (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
Community Discussion
No community discussion yet for this question.