1.6 Given a scenario, build and install software.
Objective 1.6 sits in System Management, which carries 32% of the Linux+ exam. The questions below are original, written from the official objective title above, and each explanation cites the CompTIA page it rests on.
Objective title verbatim from the official objectives. CompTIA exam page ↗
A worked example
Shown solved, with the whole explanation open: this is what every question here carries.
A freshly compiled tool fails to find a library installed under /opt/vendor/lib. The technician exports one variable and the tool runs. Which variable was it?
Correct.
Concept
The dynamic linker searches an ordered set of locations, one of which is a user-supplied list of directories carried in the environment.
Why A
LD_LIBRARY_PATH adds directories to the dynamic linker's search, so exporting it lets the tool resolve the library in the vendor path.
Now you: objective 1.6 questions
No account needed. The explanation opens when you answer.
Sample question 1 of 3
Instead of walking library directories on every start, program loading stays fast. Which file gives the dynamic linker its precompiled list of candidates?
Sample question 2 of 3
An engineer sets LD_LIBRARY_PATH for a set-user-ID binary to test a patched library, and the variable has no effect. Why?
Sample question 3 of 3
A binary carries both DT_RPATH and DT_RUNPATH entries. Which statement about DT_RPATH's reach is correct?
Full Linux+ question bank coming
We’re writing the complete bank from the official objectives right now. Leave your email and we’ll tell you when it ships, nothing else, ever.
Read the sources
These are the official pages the questions above cite. Reading them is studying the objective from the primary source, which is what the explanations point you toward anyway.
More objectives in System Management
- 1.1 1.1 Summarize Linux fundamentals.
- 1.2 1.2 Given a scenario, manage files and directories.
- 1.3 1.3 Given a scenario, configure and manage storage using the appropriate tools.
- 1.4 1.4 Given a scenario, configure and use the appropriate processes and services.
- 1.5 1.5 Given a scenario, use the appropriate networking tools or configuration files.
- 1.7 1.7 Given a scenario, manage software configurations.