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?

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

A.
export LD_PRELOAD=/usr/local/lib

B.
export LD_LIBRARY_PATH=/usr/local/lib

C.
ldconfig /usr/local/lib

D.
ldd /usr/local/lib



Leave a Reply 4

Your email address will not be published. Required fields are marked *


Gray

Gray

Personally prefer B instead. ldconfig should be run when you update /usr/local/lib in ld.so.conf

Andy

Andy

I also think the correct answer is B…

sara

sara

Agree with Gray and Andy..

networkmanagers

networkmanagers

I fixed answer From C to B.