Ch25 Managing Shared Libraries Exam
-
If a library is not accessible due to an error, the
ldd
would report which error message?- not found
- library missing
- lib missing
- error: lib not configured
-
Which command can an administrator run to rebuild the cache of shared libraries?
ldconfig
ld.so
ldd
ldlist
-
Which command is used to display the shared libraries of a dynamically linked executable?
ldlist
ldconfig
ld.so
ldd
-
Which environment variable can a user set, that will affect where shared libraries can be located and loaded?
- LD_PATH
- LIBRARY_LD_PATH
- LIBRARY_PATH
- LD_LIBRARY_PATH
-
Which of the following are benefits of a shared library: (choose two)
- Programs run faster
- Programs run slower
- Programs can be smaller
- Programs use a more consistent base of code
-
Which of the following commands would display the libraries used by the
/bin/ls
command?ldd /bin/ls
ldconfig /bin/ls
listlib /bin/ls
ls -lib /bin/ls
-
Which of the following contents is in the
ldconfig
configuration file by default?- include all
- include ld.so.conf.d/*.conf
- include ldconfig
- include /etc/ldconfig
-
Which of the following will find and load shared libraries when a program is executed?
- The kernel
- The init process
- The dynamic linker
- The scheduler
-
Which two directories are automatically searched for shared libraries? (choose two)
- /lib
- /library
- /usr/library
- /usr/lib
Subscribe
0 Comments
Newest