From owner-cvs-all Sun Jan 27 0:58:36 2002 Delivered-To: cvs-all@freebsd.org Received: from vagabond.auriga.ru (vagabond.auriga.ru [80.240.102.246]) by hub.freebsd.org (Postfix) with ESMTP id B6E2237B400; Sun, 27 Jan 2002 00:58:27 -0800 (PST) Received: from localhost (localhost [[UNIX: localhost]]) by vagabond.auriga.ru (8.11.2/8.11.2) id g0R8wQC16858; Sun, 27 Jan 2002 11:58:26 +0300 Content-Type: text/plain; charset="iso-8859-1" X-KMail-Redirect-From: Alexey V. Neyman Subject: Re: cvs commit: src/libexec/rtld-elf rtld.c From: "Alexey V. Neyman" (by way of Alexey V. Neyman ) Date: Sun, 27 Jan 2002 11:58:26 +0300 To: John Polstra Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org MIME-Version: 1.0 Message-Id: <02012711582605.01347@vagabond.auriga.ru> Content-Transfer-Encoding: 8bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi, there! Are you sure this change is right? As my copy of ELF specifications from Intel's Tool Interface Standards states, the linker should have the following order of searching (pg. 2-15): %%% - First, the dynamic array tag DT_RPATH may give a string that holds a list of directories separated by colons (:). For example, the string /home/dir/lib:/home/dir2/lib: tells the dynamic linker to search first the directory /home/dir/lib, then /home/dir2/lib and then the current directory to find dependencies. - Second, a variable called LD_LIBRARY_PATH in the process environment may hold a list of directories as above, optionally followed by a semicolon and another directory list. [skip] All LD_LIBRARY_PATH directories are searched after those from DT_RPATH. %%% I'm almost sure this change should be reverted. Please also see PR #28406 and the commit log for revision 1.21 of src/libexec/rtld-elf/rtld.c. Best regards, Alexey. On 25 January 2002 19:35, you wrote: > jdp 2002/01/25 08:35:44 PST > > Modified files: > libexec/rtld-elf rtld.c > Log: > Change the library search order so that LD_LIBRARY_PATH overrides > all others. -- <-------------------------> ) May the Sun and Water ( Regards, Alexey V. Neyman ) always fall upon you! ( mailto:alex.neyman@auriga.ru <-------------------------> -- <-------------------------> ) May the Sun and Water ( Regards, Alexey V. Neyman ) always fall upon you! ( mailto:alex.neyman@auriga.ru <-------------------------> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message