Friday 15 March 2013

linux - What is LD_RUNPATH? -



linux - What is LD_RUNPATH? -

a couple of answers mention ld_runpath environment variable:

use rpath not runpath? how blacklist shared library avoid beingness fetched loader?

but couldn't find description or official reference, including in ld(1) , ld.so(8) linux man pages. seems goal have lower precedence ld_library_path, particularly useful under solaris, ld_library_path overrides everything.

a search on google shows discussions involving ld_runpath, nil concrete. search on wikipedia unsuccessful. did compilation/run tests shared libraries under gnu/linux , solaris, couldn't notice effect.

so, environment variable? there official documentation?

there no ld_runpath. typo of ld_run_path or dt_runpath.

regarding dt_runpath, techblog says:

the dt_runpath value set linker options -rpath (or ld_run_path) , –enable-new-dtags.

linux linker solaris

No comments:

Post a Comment