LPI
201-450 · Question #20
In order to find all library dependencies of /usr/bin/foo, which of the following statement is true?
The correct answer is B. Running ldd against /usr/bin/foo will show the required libraries. See the full explanation below for the reasoning.
202 Linux Kernel
Question
In order to find all library dependencies of /usr/bin/foo, which of the following statement is true?
Options
- ARunning ldconfig against /usr/bin/foo will show the required libraries
- BRunning ldd against /usr/bin/foo will show the required libraries
- CIt's necessary to compile the program again to check the library dependencies of foo.
- DThe ls -la command has to be run in the /usr/bin directory, to show all library dependencies of foo.
- ELibrary dependencies are shown in the /usr/lib directory.
How the community answered
(16 responses)- A13% (2)
- B75% (12)
- C6% (1)
- D6% (1)
Topics
#ldd#shared libraries#library dependencies#dynamic linking
Community Discussion
No community discussion yet for this question.