https://sourceware.org/bugzilla/show_bug.cgi?id=16094
--- Comment #2 from jbo at jhu dot edu ---
(In reply to Cary Coutant from comment #1)
> Yes, it's intentional. LD_LIBRARY_PATH is the run-time search path for
> dynamic libraries, while LIBRARY_PATH is the link-time search path for
> libraries.
> 
> The Gnu linker searches for dynamic libraries with LD_LIBRARY_PATH while
> resolving symbolic references across shared libraries, and attempts to
> reproduce the dynamic linker's searching behavior. Gold, by design, does not
> do this.

Yeah, that makes sense. Is there a mechanism for setting the system
LIBRARY_PATH default in a similar way to the way LD_LIBRARY_PATH is set by
ld.so.conf?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to