Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 May 2011 14:32:02 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        Michael Hoffmann <michael.hoffmann@fh-dortmund.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Double installation of liblzma.so.5 breaks libarchive.so.5
Message-ID:  <20110509213202.GA67855@icarus.home.lan>
In-Reply-To: <201105091336.39646.michael.hoffmann@fh-dortmund.de>
References:  <201105062037.50937.benzene@arcor.de> <4DC50918.3030100@gmx.de> <201105091336.39646.michael.hoffmann@fh-dortmund.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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 |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110509213202.GA67855>