Path: utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: auspex!guy@uunet.uu.net (Guy Harris) Newsgroups: comp.sys.sun Subject: Re: vi can't find libc.so.2 Keywords: SunOS Message-ID: <1059@brchh104.bnr.ca> Date: 4 Jan 91 01:57:59 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 21 Approved: Sun-Spots@rice.edu X-Refs: Original: v9n415, Replies: v9n415 X-Sun-Spots-Digest: Volume 10, Issue 7, message 6 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu >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....