nerdexam
LPI

117-101 · Question #216

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
  • BexportLD_LIBRARY_PATH=/usr/local/lib
  • Cldconfig /usr/local/lib
  • Dldd /usr/local/lib

How the community answered

(43 responses)
  • A
    2% (1)
  • B
    5% (2)
  • C
    84% (36)
  • D
    9% (4)

Community Discussion

No community discussion yet for this question.

Full 117-101 Practice