nerdexam
LPI

117-201 · Question #4

Which of these commands allows you to use shared libraries that are in /usr/local/lib?

The correct answer is C. ldconfig /usr/local/lib. See the full explanation below for the reasoning.

Question

Which of these commands allows you to use shared libraries that are in /usr/local/lib?

Options

  • Aexport LD_PRELOAD=/usr/local/lib
  • Bexport LD_LIBRARY_PATH=/usr/local/lib
  • Cldconfig /usr/local/lib
  • Dldd /usr/local/lib

How the community answered

(30 responses)
  • A
    17% (5)
  • B
    7% (2)
  • C
    73% (22)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 117-201 Practice