Double installation of liblzma.so.5 breaks libarchive.so.5
Jeremy Chadwick
freebsd at jdc.parodius.com
Mon May 9 21:32:13 UTC 2011
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 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 |
More information about the freebsd-stable
mailing list