Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam LFCS topic 1 question 28 discussion

Actual exam question from Linux Foundation's LFCS
Question #: 28
Topic #: 1
[All LFCS Questions]

Which of the following environment variables overrides or extends the list of directories holding shared libraries?

  • A. LD_LOAD_PATH
  • B. LD_LIB_PATH
  • C. LD_LIBRARY_PATH
  • D. LD_SHARE_PATH
  • E. LD_RUN_PATH
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Buruguduystunstugudunstuy
1 year, 3 months ago
Selected Answer: C
Option C. LD_LIBRARY_PATH is the environment variable that overrides or extends the list of directories holding shared libraries. In Linux, shared libraries are compiled object files that are used by multiple programs. They contain code and data that can be shared among different programs, which reduces the size of the programs and speeds up the system. The LD_LIBRARY_PATH environment variable is used to specify the directories that the system should search for shared libraries. It overrides or extends the default search path that is specified in the ld.so.conf configuration file. For example: export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH This adds the /usr/local/lib directory to the search path for shared libraries and prepends it to the existing value of LD_LIBRARY_PATH. Option A: LD_LOAD_PATH is not a recognized environment variable. Option B: LD_LIB_PATH is not a recognized environment variable. Option D: LD_SHARE_PATH is not a recognized environment variable. Option E: LD_RUN_PATH is not a recognized environment variable.
upvoted 1 times
...
passnow
3 years ago
LD_LIBRARY_PATH is the predefined environmental variable in Linux/Unix which sets the path which the linker should look in to while linking dynamic libraries/shared libraries.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...