nerdexam
LPI

201-400 · Question #20

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

The correct answer is B. Running ldd against /usr/bin/foo will show the required libraries. See the full explanation below for the reasoning.

Question

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

Options

  • ARunning ldconfig against /usr/bin/foo will show the required libraries
  • BRunning ldd against /usr/bin/foo will show the required libraries
  • CIt's necessary to compile the program again to check the library dependencies of foo.
  • DThe ls -la command has to be run in the /usr/bin directory, to show all library dependencies of foo.
  • ELibrary dependencies are shown in the /usr/lib directory.

How the community answered

(18 responses)
  • A
    11% (2)
  • B
    83% (15)
  • C
    6% (1)

Community Discussion

No community discussion yet for this question.

Full 201-400 Practice