which of the following statement is true?

In order to find all library dependencies of /usr/bin/foo, which of the following statement is true?

In order to find all library dependencies of /usr/bin/foo, which of the following statement is true?

A.
Running ldconfig against /usr/bin/foo will show the required libraries

B.
Running ldd against /usr/bin/foo will show the required libraries

C.
It’s necessary to compile the program again to check the library dependencies of foo.

D.
The ls -la command has to be run in the /usr/bin directory, to show all library dependencies of
foo.

E.
Library dependencies are shown in the /usr/lib directory.

Explanation:
From the man pages:
ldd prints the shared libraries required by each program or shared library specified on the command
line.



Leave a Reply 1

Your email address will not be published. Required fields are marked *


Marcus

Marcus

B.
Running ldd against /usr/bin/foo will show the required libraries