From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 16:12:30 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B4DA16A4CE for ; Sat, 12 Feb 2005 16:12:29 +0000 (GMT) Received: from prosporo.hedron.org (hedron.org [66.11.182.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83BC243D45 for ; Sat, 12 Feb 2005 16:12:29 +0000 (GMT) (envelope-from ean@hedron.org) Received: from localhost.hedron.org (localhost.hedron.org [127.0.0.1]) by prosporo.hedron.org (Postfix) with ESMTP id C8696C0C5; Sat, 12 Feb 2005 11:12:42 -0500 (EST) From: Ean Kingston To: freebsd-questions@freebsd.org, Raman Date: Sat, 12 Feb 2005 11:12:41 -0500 User-Agent: KMail/1.7.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502121112.42208.ean@hedron.org> Subject: Re: LD_ *vars X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2005 16:12:30 -0000 On February 12, 2005 01:41 am, Raman wrote: > Hi, > > I want to modify and recompile an application already installed on my > FreeBSD 4.10 machine and then when I'm done with it go back to the way > it was with that application before I modified and recompiled it. I'm not sure about the modifications to the LD vars, though it sounds possible. I regularly test new versions of ports before deploying them. I do this by having a build environment setup in /build. I use chroot to enter the build environment and compile/test the software. I also do this for buildworld when updating the OS. This allows me to install newer (or older) versions of software in the build environment without affecting the running system. > I heard I should use bash and edit the LD_* vars. I was not able to > find anything about them on www.freebsd.org. I wanted to know how > LD_PRELOAD and LD_LIBRARY_PATH worked. > > Thank you for your help and time. > > - Raman > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" -- Ean Kingston E-Mail: ean AT hedron DOT org URL: http://www.hedron.org/