LPI
201-450 · 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.
202 Linux Kernel
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
(28 responses)- A4% (1)
- B4% (1)
- C86% (24)
- D7% (2)
Topics
#ldconfig#shared libraries#library path#dynamic linking
Community Discussion
No community discussion yet for this question.