PrepAway - Latest Free Exam Questions & Answers

Which system administration command you can use to update ld.so.cache after the installation of new shared lib

Which system administration command you can use to update ld.so.cache after the installation of new shared libraries?

PrepAway - Latest Free Exam Questions & Answers

A.
ldconfig

B.
libpath

C.
newlibs

D.
ldd

Explanation:
libpath newlibs commands do not exist
ldd lists library dependencies

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.


Leave a Reply