Which of the following commands updates the linker cache of shared libraries?
A.
mkcache
B.
soconfig
C.
mkldconfig
D.
lddconfig
E.
ldconfig
The Answer Is:
E
This question includes an explanation.
Explanation:
The command that updates the linker cache of shared libraries is ldconfig. This command creates, updates, and removes the necessary links and cache for the run-time linker, ld.so, to the most recent shared libraries found in the specified directories. To add a new library directory to the cache, you need to edit the /etc/ld.so.conf file and rerun ldconfig. You can use the -p option to print the current cache contents1.
The other commands are either invalid or unrelated to the linker cache. mkcache, soconfig, and mkldconfig are not standard Linux commands. lddconfig is a typo for ldd, which is a command that prints the shared libraries required by a program2.
[:, Linux Commands For Shared Library Management & Debugging Problem, ldd(1) - Linux manual page, , , ]
101-500 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 60% Discount on All Products,
Use Coupon: "8w52ceb345"