nerdexam
LPI

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

(54 responses)
  • A
    4% (2)
  • B
    19% (10)
  • C
    70% (38)
  • D
    7% (4)

Community Discussion

No community discussion yet for this question.

Full 201-400 Practice