From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 07:40:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDA831065688 for ; Fri, 10 Oct 2008 07:40:49 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA04.emeryville.ca.mail.comcast.net (qmta04.emeryville.ca.mail.comcast.net [76.96.30.40]) by mx1.freebsd.org (Postfix) with ESMTP id 9E23E8FC14 for ; Fri, 10 Oct 2008 07:40:49 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA06.emeryville.ca.mail.comcast.net ([76.96.30.51]) by QMTA04.emeryville.ca.mail.comcast.net with comcast id Qvfa1a00116AWCUA4vgoqi; Fri, 10 Oct 2008 07:40:48 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA06.emeryville.ca.mail.comcast.net with comcast id Qvgm1a0042P6wsM8SvgnvH; Fri, 10 Oct 2008 07:40:47 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=hIHTa34WadXYOprG2Y4A:9 a=OorPXaMJjxEBtsc4ICgA:7 a=IKgo_Wv3G1MX7qSPixZc3KW1wHsA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id D3096C9419; Fri, 10 Oct 2008 00:40:46 -0700 (PDT) Date: Fri, 10 Oct 2008 00:40:46 -0700 From: Jeremy Chadwick To: Shakul M Hameed Message-ID: <20081010074046.GA25922@icarus.home.lan> References: <48EE6046.8020906@mykitchentable.net> <20081010122613.GA1864@freebsdbox> <20081010071255.GA25451@icarus.home.lan> <20081010131021.GB1917@freebsdbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081010131021.GB1917@freebsdbox> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Drew Tomlinson , freebsd-questions@freebsd.org Subject: Re: How To Get libm.so.4? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 07:40:49 -0000 On Fri, Oct 10, 2008 at 06:40:22PM +0530, Shakul M Hameed wrote: > I think its not a very bad idea, unless your app is dependent on a routine which is deprecated and > not avaiable in the latest version of library. For testing purpose this should be ok. I disagree. It _is_ a bad idea. There is absolutely *no* guarantee that symbols will be identical between two revisions of a shared library, especially across a major revision. I'm not talking about missing symbols detected during run-time either; I'm talking about internal changes that could affect the operation of a program which relies on certain behaviour of functions in that library, which has changed in a newer version (yet kept the same function/calling semantics). And let's not forget about shared libraries that are linked to other shared libraries, resulting in a dependency tree of madness, where you'll suddenly find yourself making symlinks all over the place. (You should use libmap.conf for this purpose anyway). So like I said -- it IS a bad idea. Please do not do it. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |