what do you mean LD_LIBRARY_PATH?
What LD_LIBRARY_PATH does

Answer Posted / manoj

This is one system administrator's point of view why
LD_LIBRARY_PATH, as frequently used, is bad. This is written
from a SunOS 4.x/5.x (and to some extent Linux) point of
view, but this also applies to most other UNIXes.

LD_LIBRARY_PATH is an environment variable you set to give
the run-time shared library loader (ld.so) an extra set of
directories to look for when searching for shared libraries.
Multiple directories can be listed, separated with a colon
(:). This list is prepended to the existing list of
compiled-in loader paths for a given executable, and any
system default loader paths.

For security reasons, LD_LIBRARY_PATH is ignored at runtime
for executables that have their setuid or setgid bit set.
This severely limits the usefulness of LD_LIBRARY_PATH.

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is threading bad for you?

429


Do threads count as cores?

412


Do threads share variables?

457


Why are user level threads faster than kernel level threads?

452


What is difference between processes and threads?

427






Are threads as good as cores?

436


Is face threading safe?

458


Does htop show threads?

433


What are linux kernel threads?

434


How many threads does an i7 7700k have?

441


Can we start two threads at a time?

439


Do threads share heap?

427


Can threading stop hair growth?

486


Is threading harmful?

419


Does linux have threads?

425