Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Oct 2005 20:21:27 +0200
From:      dick hoogendijk <dick@nagual.st>
To:        freebsd-stable@freebsd.org
Subject:   Re: 6.0 release date and stability
Message-ID:  <20051021202127.30c0d3f3.dick@nagual.st>
In-Reply-To: <20051019225351.GA77421@xor.obsecurity.org>
References:  <200510152346.RAA20742@lariat.net> <disfuq$iag$1@sea.gmane.org> <20051016135752.6bcc6874.dick@nagual.st> <AB7EBC6B-6036-4CA9-918C-1FD553E019AD@khera.org> <20051019231046.1136a1ea.dick@nagual.st> <op.sywwy9cy8527sy@outgoing.local> <20051019225351.GA77421@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 19 Oct 2005 18:53:51 -0400
Kris Kennaway <kris@obsecurity.org> wrote:

> On Wed, Oct 19, 2005 at 11:36:35PM +0200, Ronald Klop wrote:
> > COMPAT_FREEBSD5 is meant for running FreeBSD-5 binary applications.
> > If you have them it's ok. If you recompile everything you don't
> > need the COMPAT_FREEBSD5 stuff. If you don't have the source of
> > some of your FreeBSD-5 applications you have to run with
> > COMPAT_FREEBSD5. And the switch to 6 is easier because your
> > 5-applications keep running.
> 
> Yes.  As long as you only use your old 5.x applications, you're fine
> with just the compat.  The problem is when you start to link *new* 6.0
> applications with *old* 5.x libraries (e.g. by installing a new port,
> e.g. a new X application, without rebuilding your 5.x X installation
> first).
>  
> Thus, unless you upgrade all your 5.x ports (well, actually "many",
> i.e. only those that provide libraries or shared object modules, but
> it's easier to just do "all") you'll end up with 6.0 binaries that are
> linked to e.g. two versions of libc at once (the 5.x libc and the 6.0
> libc), which is a recipe for disaster.

I learn much from these kind of answers. Thanks Kris.
What I don't get is how I can /get rid/ of these old 4.x / 5.x
libraries on my "new" updated 6.0 system.

I guess teh way to go is:
cvsup to the latest 6.0 source; do the well-known buildworld thing;
rebuild the kernel without compat_freebsd4/5 option (???) and rebuild
every port with portupgrade -fa

But he old libraries are still on the system than, aren't they?
Or will they not be used and if not, why?

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051021202127.30c0d3f3.dick>