[comp.sys.sun] vi can't find libc.so.2

jrc@c2s.mn.org (12/30/90)

When I try to bring up vi on a SparcSLC running SunOS 4.1, the message

ld.so: libc.so.2: not found

comes up. The file /usr/lib/libc.so.1.5 is present .  What does this mean,
and what can I do to fix it ?  It appears that libc.so.2 is not supposed
to exist for this version of the OS.  We tried a few tricks, like copy
libc.so.1.5 to libc.so.2, ftp a new version of vi from another SLC, this
didn't work.

Thanx in advance,

Jeffrey Comstock
Com Squared Systems
612-452-9522

poole@sp.chuug.ch (Simon Poole) (12/30/90)

In article <967@brchh104.bnr.ca> jrc@c2s.mn.org writes:
>When I try to bring up vi on a SparcSLC running SunOS 4.1, the message
>
>ld.so: libc.so.2: not found

Install the System V shared library.

guy@uunet.uu.net (Guy Harris) (01/04/91)

>When I try to bring up vi on a SparcSLC running SunOS 4.1, the message
>
>ld.so: libc.so.2: not found
>
>comes up. The file /usr/lib/libc.so.1.5 is present .  What does this mean,

It means that there are no shared libraries with a major version number of
2 on your system.  As you might infer from the other answer to the
question, the System V shared library has a major version number of 2 (and
a minor version number of 5, at least on my SS1 running 4.1, so the file
isn't "libc.so.2", it's "libc.so.2.5", in "/usr/5lib"; the error message
is a bit confusing, because the run-time loader - "ld.so" - is *not*
looking for "libc.so.2", it's looking for "libc.so.2.*", preferably with
"*" matching 5 or greater - it'll settle for less, but will print a
warning).

Now, I thought that 4.1 installation was supposed to automatically install
the S5 shared library (because "vi" requires it; this is because "vi" is
built in the S5 environment for 4.1, as the 4.1 "vi" is based on the
S5R3.1 one, primarily in order to pick up AT&T's changes to make it
support 8-bit character sets), but perhaps it doesn't....