Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 1996 23:43:55 -0500 (CDT)
From:      mikebo@tellabs.com
To:        wpaul@skynet.ctr.columbia.edu (Bill Paul)
Cc:        mikebo (Mike Borowiec), bugs@freebsd.org
Subject:   Re: 2.1-960627-SNAP: YP problem
Message-ID:  <199607090443.XAA21244@sunc210.tellabs.com>
In-Reply-To: <199607090430.AAA18230@skynet.ctr.columbia.edu> from "Bill Paul" at Jul 9, 96 00:30:28 am

next in thread | previous in thread | raw e-mail | index | archive | help
Bill -
You wrote:
> Uh, I'm Bill, not Gary. :)
> 
Sorry... I told ya I was tired! ;v)

> > > marple# ls -l /usr/lib/libc.*
> > > -r--r--r--  1 bin  bin  497710 Jun 28 04:44 /usr/lib/libc.a
> > > -r--r--r--  1 bin  bin  435727 Jun 28 04:44 /usr/lib/libc.so.2.2
> 
> Notice also that the timestamps on both my libraries match. In
> your case, libc.so.2.2 and libc.a should match but they don't. (Your
> libc.a looks correct however.)
>   
> > toybox> ls -l /usr/lib/libc.*
> > -r--r--r--  1 bin  bin  497710 Jun 28 03:44 /usr/lib/libc.a
> > -r--r--r--  1 bin  bin  403106 Jul  3  1994 /usr/lib/libc.so.1.1
> > -r--r--r--  1 bin  bin  466907 Jan 25  1995 /usr/lib/libc.so.2.0
> > -r--r--r--  1 bin  bin  435248 Apr 27 16:57 /usr/lib/libc.so.2.2
> > 
> I think you do have a bogus libc.so.2.2, however I can't explain how
> you got it. The compat distribution is supposed to add the two older
> libraries (I guess) not replace the 'standard' one. (Note that I did
> do a custom install on my box: I specifically selected the bin, man,
> games, dict and des distributions and nothing else.
> 
I did a custom install also. Perhaps Jordan can shed some light here?

> Anyway, here's how you can try to fix this: get the bin distribution
> (bin.aa through bin.whatever) and extract the libc.so.2.2 from there.
> The distribution is basically one giant tar.gz archive. You can
> extract a single file from it like this:
> 
> % cat bin.?? | gzip -d | tar -xf - usr/lib/libc.so.2.2
> 
> Replace your existing libc.so.2.2 with this one (this is best done
> from single user mode) and then see if NIS works. Ideally, it should.
> 
> I still can't figure out how the test program seemed to work before
> though.
> 
Yes, it still works... I don't get it. But hey, if I got a bogus libc.so
then what the heck else is fouled up? Basically, I no longer trust this
installation. I may blow it away...

Jordan, if you want me to run anything against my system before I
blow it away (in case you were curious as to how the installation
gave me a bogus libc.so) just ask, but soon. ;v)
- Mike
-- 
--------------------------------------------------------------------------
Michael Borowiec   -   mikebo@tellabs.com   -   Tellabs Operations Inc.
Senior Member of Technical Staff                4951 Indiana Avenue, MS 63
708-512-8211  FAX: 708-512-7099                 Lisle, IL  60532  USA
--------------------------------------------------------------------------



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