To what environment variable will you assign or append a value if you need to tell the dynamic linker to look in a build directory for some of a program’s shared libraries?

To what environment variable will you assign or append a value if you need to tell the dynamic linker to look in a build directory for some of a program’s shared libraries?

To what environment variable will you assign or append a value if you need to tell the dynamic linker to look in a build directory for some of a program’s shared libraries?

A.
LD_LOAD_PATH

B.
LD_LIB_PATH

C.
LD_LIBRARY_PATH

D.
LD_SHARE_PATH

E.
LD_RUN_PATH

Explanation/Reference:
ld.so looks in LD_LIBRARY_PATH before looking anywhere else for libraries.



Leave a Reply 0

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