*BSD News Article 68432


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!samba.rahul.net!rahul.net!a2i!bug.rahul.net!rahul.net!a2i!genmagic!sgigate.sgi.com!swrinde!newsfeed.internetmci.com!netnews.nwnet.net!news.u.washington.edu!root
From: kargl@troutmask.apl.washington.edu
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: libc.so.3.0 Missing from FreeBSD 2.1 Install
Date: 13 May 1996 22:13:02 GMT
Organization: Applied Physics Laboratory
Lines: 47
Message-ID: <4n8c5e$rab@nntp5.u.washington.edu>
References: <4n7gou$2gv@news.durham.net>
NNTP-Posting-Host: troutmask.apl.washington.edu

     Dean Forester wrote in article <4n7gou$2gv@news.durham.net> :
>
>I just upgraded a FreeBSD 2.0.5 system to 2.1.0 via FTP, and now when I try
>to run a lot of the new utilities that I have installed it gives me the
>missing libc.so.3.0 errors. Anyone out there point me in the right direction
>to find the proper packages/files to solve this problem? Error message below:
>
>ld.so: tin: Can't find shared library "libc.so.3.0"
>
>Thanks in Advance,
>
>Dean
>
>p.s. This was a fresh install from CD of 2.0.5 then an upgrade to 2.1.0.. Then I installed bash, top, tin, etc..
>
>

The shared library on a 2.1.0 system is, I believe, at libc.so.2.2.
The shared library on a -stable system is at libc.so.2.2.
The shared library on a -current system is at libc.so.3.0.

Did you grab packages built to be run on -current?  If so, these packages will
look for libc.so.3.0.  You can do

%su root
%cd /usr/lib
%ln -s libc.so.2.2 libc.so.3.0
%shutdown -r now

The shutdown and subsequent reboot will cause ldconfig to pickup the new
symlink.

NOTE #1:  The bump in the major number from 2 to 3 indicates that at least
1 function had its interface changed (i.e., calling convention, return value).
This specific bump is probably related to the threads work in -current.  

NOTE #2:  Is this dangerous (to your filesystems)?  I don't know, but it
works for me with a utility that I can't compile locally.

Steve

finger -l kargl@troutmask.apl.washington.edu
http://troutmask.apl.washington.edu/~kargl/sgk.html

Permission is hereby granted to forward this message in its entirety to
whomever you like unless I explicitly state that the content is confidential.