199k views
2 votes
Which of the following commands will list missing libraries as not found if a necessary library is not installed?a. lddb. ldconfigc. ldsod. ldchk

1 Answer

4 votes

Answer:

B.

Step-by-step explanation:

The correct command is ldconfig. When a necessary library is not installed, ldconfig will list it as not found. This command is used to configure dynamic linker run-time bindings and cache. It maps shared libraries, creating the necessary links and cache to execute them efficiently. By default, ldconfig caches libraries in the /etc/ld.so.cache file, improving the overall system performance. In case of a missing library, it will show an error message, listing the dependencies that need to be installed to resolve the issue.

User Maksadbek
by
8.5k points