Question 250
A Linux administrator faces this situation: An executable reports a missing shared-object dependency although its binary file exists. Which action best resolves the specific issue while preserving correct system behavior?
Explanation
Correct Answer
Install the matching compatible library in a supported library search path and refresh the loader cache where appropriate. This corrects the case-specific failure. First verify: Run ldd on the trusted executable and inspect the library soname it cannot resolve. Then demonstrate success: ldd resolves the dependency and the program starts without a shared-library loading error.
Incorrect Answers
Set LD_LIBRARY_PATH only for the controlled test process while keeping production linker paths unchanged. That would matter when a developer temporarily tests a private library build without replacing the system-wide shared object. The relevant distinction in this case is: Install the matching compatible library in a supported library search path and refresh the loader cache where appropriate.
Update approved library configuration and run ldconfig to rebuild the loader cache. That would matter when a newly installed system library under a standard configured path is not found by the dynamic linker. It does not address this case's requirement: An executable reports a missing shared-object dependency although its binary file exists.
Run yum install package-name or dnf install package-name as supported by the distribution. That would matter when a package must be installed from a configured RPM repository along with required dependencies. That separate mechanism does not verify the needed Linux administration outcome in this case.