From owner-freebsd-stable@FreeBSD.ORG Mon May 9 21:32:13 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49C5E106567B for ; Mon, 9 May 2011 21:32:13 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta10.westchester.pa.mail.comcast.net (qmta10.westchester.pa.mail.comcast.net [76.96.62.17]) by mx1.freebsd.org (Postfix) with ESMTP id EB1A88FC12 for ; Mon, 9 May 2011 21:32:12 +0000 (UTC) Received: from omta23.westchester.pa.mail.comcast.net ([76.96.62.74]) by qmta10.westchester.pa.mail.comcast.net with comcast id hZXF1g0011c6gX85AZYCpV; Mon, 09 May 2011 21:32:12 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta23.westchester.pa.mail.comcast.net with comcast id hZY41g00K1t3BNj3jZY81r; Mon, 09 May 2011 21:32:12 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id AC27E102C19; Mon, 9 May 2011 14:32:02 -0700 (PDT) Date: Mon, 9 May 2011 14:32:02 -0700 From: Jeremy Chadwick To: Michael Hoffmann Message-ID: <20110509213202.GA67855@icarus.home.lan> References: <201105062037.50937.benzene@arcor.de> <4DC50918.3030100@gmx.de> <201105091336.39646.michael.hoffmann@fh-dortmund.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201105091336.39646.michael.hoffmann@fh-dortmund.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: Double installation of liblzma.so.5 breaks libarchive.so.5 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2011 21:32:13 -0000 On Mon, May 09, 2011 at 01:36:39PM +0200, Michael Hoffmann wrote: > > Was your library path in csh created or suggested by pth-related ports? > > Hard to say. I've logged things like mergemaster by the script command. Until > 7.2 I just found messages like > > ./etc/csh.cshrc and installed have the same CVS Id, deleting > > so I can't exactly track when this first appeared in csh.cshrc. (Maybe it's a > good idea to trace changes of etc in a version control system from time to > time.) You can see commits for this file on all branches (specifically RELENG_7 and RELENG_8) here: http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/csh.cshrc I spent some time looking through all the annotations during each commit: I see no evidence that an LD_LIBRARY_PATH override was ever added to that file at any time. Furthermore, on FreeBSD, system-wide changes like this tend to get applied in a much more reliable way (global yet shell-independent): via ldconfig(8). I have no explanation for how said line got added to /etc/csh.cshrc or src/etc/csh.cshrc for you. Possibly a port, or a mistake by an administrator, did this. And if a port did it, it shouldn't have; it should have used ldconfig(8) to do things correctly. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB |