Path: utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: Mark.Bush@prg.oxford.ac.uk (Mark Bush) Newsgroups: comp.sys.sun Subject: Re: ld.so looks for wrong libc.so Keywords: Miscellaneous Message-ID: <2200@brchh104.bnr.ca> Date: 26 Mar 91 16:00:00 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 18 Approved: Sun-Spots@rice.edu X-Original-Date: 25 Mar 91 15:35:53 GMT X-Refs: Original: v10n58, Replies: v10n65 X-Sun-Spots-Digest: Volume 10, Issue 69, message 11 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu In article <2005@brchh104.bnr.ca> mea@sparta.com (Mike Anderson) writes: >Now comes the strange part. When I try to run certain programs like vi, I >get a message from ld.so saying it can't find libc.so.2 and the program >sputters and dies. Now when I look at my /usr/lib, I see libc.so.1.6 but >no libc.so.2. The ld.so.cache looks right (it shows libc.so.1.6) as does >LD_LIBRARY_PATH. Issueing ldconfig doesn't clear it up either. Reboots >are ineffective at clearing this problem up as well. Anyone have any >clues, pointers or RTFMs they can give me to shed some light on this >problem? I think this came up net too long ago (and I got bitten by it when I upgraded to SunOS4.1!). The library used by `vi' and it's friends is the System V libc, not the BSD one. Check that you have /usr/5lib installed. If you run `ldd /usr/ucb/vi' it will tell you what libraries it wants and where it is expecting to find them. Mark