From owner-freebsd-questions Thu Nov 30 15:12:57 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id C254437B401 for ; Thu, 30 Nov 2000 15:12:54 -0800 (PST) Received: (qmail 40878 invoked by uid 100); 30 Nov 2000 23:12:54 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14886.57078.331579.149451@guru.mired.org> Date: Thu, 30 Nov 2000 17:12:54 -0600 (CST) To: Brian McGovern Cc: questions@freebsd.org Subject: Re: Altering dynamic loader from within application... In-Reply-To: <31916820@toto.iv> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Message: You should get a better mailer. Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Brian McGovern types: > Therefore, is there a way to change the linker behavior once the application > has started?... Namely, the equivelent of setting LD_LIBRARY_PATH _after_ the > application has loaded all of the initial libraries and started running, but > before I get around to calling my loader? This may be a stupid suggestion, but I've never tried such a thing. I do wonder about it myself and you can test it easier than I can. What happens if just use the setenv(3) call to change the environment? Does that work, or is it to late for the environment to have an effect? http://www.mired.org/home/mwm/ Independent WWW/Unix/FreeBSD consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message