From owner-freebsd-current Wed Sep 2 18:36:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA16583 for freebsd-current-outgoing; Wed, 2 Sep 1998 18:36:28 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp04.primenet.com (smtp04.primenet.com [206.165.6.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA16575 for ; Wed, 2 Sep 1998 18:36:26 -0700 (PDT) (envelope-from tlambert@usr07.primenet.com) Received: (from daemon@localhost) by smtp04.primenet.com (8.8.8/8.8.8) id SAA29492; Wed, 2 Sep 1998 18:35:22 -0700 (MST) Received: from usr07.primenet.com(206.165.6.207) via SMTP by smtp04.primenet.com, id smtpd029465; Wed Sep 2 18:35:16 1998 Received: (from tlambert@localhost) by usr07.primenet.com (8.8.5/8.8.5) id SAA04006; Wed, 2 Sep 1998 18:35:12 -0700 (MST) From: Terry Lambert Message-Id: <199809030135.SAA04006@usr07.primenet.com> Subject: Re: Why no ldconfig for ELF? To: joelh@gnu.org Date: Thu, 3 Sep 1998 01:35:12 +0000 (GMT) Cc: jdp@polstra.com, taob@risc.org, current@FreeBSD.ORG In-Reply-To: <199809022313.SAA09819@detlev.UUCP> from "Joel Ray Holveck" at Sep 2, 98 06:13:42 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > You specify the search path at _link_ time with LD_RUN_PATH or the > > "-R" linker option. The path is saved in the executable or shared > > library itself. > > How is this a win? Say I'm taking a binary from somebody who > installed libXpm in /usr/X11R6/lib, and didn't have a /usr/local/lib, > which is where my libXpm resides. The path is saved in a seperate section. You are free to rewrite this section during install, using an ELF image archiver. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message