Linux Foundation Certified System Administrator (LFCS) — Question 30
Which of the following environment variables overrides or extends the list of directories holding shared libraries?
Answer options
- A. LD_LOAD_PATH
- B. LD_LIB_PATH
- C. LD_LIBRARY_PATH
- D. LD_SHARE_PATH
- E. LD_RUN_PATH
Correct answer: C
Explanation
The correct answer is C, LD_LIBRARY_PATH, which specifically allows users to specify additional directories for shared libraries. The other options, while similar in naming, either do not exist or do not serve the purpose of modifying the library search path in the same way.