nerdexam
LPI

117-201 · 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

(48 responses)
  • A
    2% (1)
  • B
    71% (34)
  • C
    8% (4)
  • D
    4% (2)
  • E
    15% (7)

Community Discussion

No community discussion yet for this question.

Full 117-201 Practice