bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/16094] ld searches LIBRARY_PATH and LD_LIBRARY_PATH but gold o


From: jbo at jhu dot edu
Subject: [Bug gold/16094] ld searches LIBRARY_PATH and LD_LIBRARY_PATH but gold only searches LIBRARY_PATH
Date: Mon, 28 Oct 2013 17:06:06 +0000

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]