From owner-freebsd-hackers Fri Feb 5 16:44:57 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA00689 for freebsd-hackers-outgoing; Fri, 5 Feb 1999 16:44:57 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA00676 for ; Fri, 5 Feb 1999 16:44:55 -0800 (PST) (envelope-from tlambert@usr02.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id RAA25640; Fri, 5 Feb 1999 17:44:54 -0700 (MST) Received: from usr02.primenet.com(206.165.6.202) via SMTP by smtp03.primenet.com, id smtpd025557; Fri Feb 5 17:44:46 1999 Received: (from tlambert@localhost) by usr02.primenet.com (8.8.5/8.8.5) id RAA20812; Fri, 5 Feb 1999 17:44:40 -0700 (MST) From: Terry Lambert Message-Id: <199902060044.RAA20812@usr02.primenet.com> Subject: Re: ldconfig and libraries To: jdp@polstra.com (John Polstra) Date: Sat, 6 Feb 1999 00:44:40 +0000 (GMT) Cc: hackers@FreeBSD.ORG In-Reply-To: <199902041927.LAA19876@vashon.polstra.com> from "John Polstra" at Feb 4, 99 11:27:57 am 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-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Having experienced both sides of this, what I think would be good would > > be to be able to edit the RPATH in executables. That would allow the > > sysadmin to override it selectively. I don't know if that is feasible > > or not. > > That would be useful, but I'm afraid it may not be feasible for > executables. The RPATH string is in the .dynstr section, which > precedes text, data, and bss in the address space. If you made the > string longer, it would change the load addresses of text, data, and > bss. But executables don't contain the relocation information needed > for making the necessary adjustments in that case. Sounds like it's in the wrong order in the file... 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-hackers" in the body of the message