*BSD News Article 32820


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!news.Hawaii.Edu!ames!hookup!swrinde!howland.reston.ans.net!vixen.cso.uiuc.edu!newsrelay.iastate.edu!news.iastate.edu!ponderous.cc.iastate.edu!michaelv
From: michaelv@iastate.edu (Michael L. VanLoon)
Newsgroups: comp.os.386bsd.development
Subject: Re: shlib_minor from 0 to 1
Date: 14 Jul 94 19:42:30 GMT
Organization: Iowa State University, Ames, Iowa
Lines: 38
Message-ID: <michaelv.774214950@ponderous.cc.iastate.edu>
References: <774194386.AA09311@f74.n700.z6.ftn.air.org>
NNTP-Posting-Host: ponderous.cc.iastate.edu

In <774194386.AA09311@f74.n700.z6.ftn.air.org> Clarence.Chu@f132.n700.z6.ftn.air.org (Clarence Chu) writes:

>hi there,
> 
>i really don't understand why shlib_minor had changed from
>0 to 1 in freebsd-1.1.5.1(R).
> 
>it make all binaries linked against previous 1.1 shared lib
>useless (or have to make symlink of sharedlib.1.0 to sharedlib.1.1)

Geeze, pay attention!  Someone just posted an article that explained
all this.  Programs linked with shared lib 1.0 will run on *any* 1.x
shared lib.  Programs linked with shared lib 1.1 will run on *any* 1.x
shared lib where x >= 1.  Programs linked with shared lib 1.y will run
on any 1.x shared lib where x >= y.  Programs linked with shared lib
2.x will not run with any 1.x shared lib.

If your old 1.0 programs don't work, you must have broken them.  It's
certainly not the fault of the libraries or the runtime linker.

Why do they bother writing any new software at all?  They ought to
just leave the shared lib number at 1.0 and never write any new
programs.  Would that make you happy?  Obviously they had a good
reason for bumping the number from 1.0 to 1.1, or they wouldn't have
done so.

Just be glad you're not running NetBSD.  I'm on libc.so.11.0 there.
But all the changes to the library were necessary for progress.

>clarence chu
>a puzzled user

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Michael L. VanLoon                 Iowa State University Computation Center
    michaelv@iastate.edu                    Project Vincent Systems Staff
  Free your mind and your machine -- NetBSD free Un*x for PC/Mac/Amiga/etc.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -