LPI Exam Questions

Which of these commands allows you to use shared libraries that are in /usr/local/lib?

Which of these commands allows you to use shared libraries that are in /usr/local/lib?

A.
ldd /usr/local/lib

B.
export LD_PRELOAD=/usr/local/lib

C.
export LD_LIBRARY_PATH=/usr/local/lib

D.
ldconfig /usr/local/lib

Explanation: