LPI
101-400 · 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
(23 responses)- A4% (1)
- B9% (2)
- C74% (17)
- D13% (3)
Community Discussion
No community discussion yet for this question.