From owner-freebsd-hackers Thu Feb 4 11:28:03 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA06822 for freebsd-hackers-outgoing; Thu, 4 Feb 1999 11:28:03 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA06795 for ; Thu, 4 Feb 1999 11:27:59 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.1/8.9.1) with ESMTP id LAA26031 for ; Thu, 4 Feb 1999 11:27:58 -0800 (PST) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.1/8.9.1) id LAA19876; Thu, 4 Feb 1999 11:27:57 -0800 (PST) (envelope-from jdp@polstra.com) Date: Thu, 4 Feb 1999 11:27:57 -0800 (PST) Message-Id: <199902041927.LAA19876@vashon.polstra.com> To: hackers@FreeBSD.ORG Subject: Re: ldconfig and libraries In-Reply-To: <19990204231738.T28430@rf900.physics.usyd.edu.au> References: <199901311851.KAA07228@vashon.polstra.com> <199902040322.TAA18413@vashon.polstra.com> <36B99FD3.41C67EA6@ics.com> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <19990204231738.T28430@rf900.physics.usyd.edu.au>, David Dawes wrote: > > 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. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Nobody ever went broke underestimating the taste of the American public." -- H. L. Mencken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message