From owner-freebsd-questions@FreeBSD.ORG Thu Dec 1 20:24:03 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B888716A423 for ; Thu, 1 Dec 2005 20:24:03 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91FF643D8E for ; Thu, 1 Dec 2005 20:23:57 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id A41DD1A4DA3; Thu, 1 Dec 2005 12:23:55 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 1AE14515B4; Thu, 1 Dec 2005 15:23:55 -0500 (EST) Date: Thu, 1 Dec 2005 15:23:54 -0500 From: Kris Kennaway To: Matthew Seaman Message-ID: <20051201202354.GA4786@xor.obsecurity.org> References: <20051201043300.GA97608@ns2.wananchi.com> <438EB173.50005@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline In-Reply-To: <438EB173.50005@infracaninophile.co.uk> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org Subject: Re: Update 5.4 -> 6.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2005 20:24:03 -0000 --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 01, 2005 at 08:16:51AM +0000, Matthew Seaman wrote: > Odhiambo Washington wrote: > >It's my suspicion that updating 5.4 to 6.0 via CVSup leaves alot of old > >libraries in place. Is this anywhere near correct? > > > >I updated my system recently thus, using the steps in > >/usr/src/UPDATING, but now when updating the ports (I am yet to > >try out portupgrade -a), I see such output as: > > > >/usr/bin/ld: warning: libcrypt.so.2, needed by=20 > >/usr/local/lib/mysql/libmysqlclient.so, may conflict with libcrypt.so.3 > >/usr/bin/ld: warning: libz.so.2, needed by=20 > >/usr/local/lib/mysql/libmysqlclient.so, may conflict with libz.so.3 > >/usr/bin/ld: warning: libc.so.5, needed by /usr/local/lib/libsasl2.so.2,= =20 > >may conflict with libc.so.6 > > > >What does these suggest? > > > >Is there an easy way to fix them? >=20 > Yes. You need to run: >=20 > portupgrade -fa >=20 > ie. recompile all of your installed software, so that it links against > the up to date system libraries. >=20 > Software compiled under 5.x will almost definitely still run perfectly > well when the box is upgraded to 6.0, but as soon as you start installing > new software or upgrading some packages you'll start running into library > version conflicts. Re-installing wholesale will prevent that. Is this not mentioned in the upgrade instructions (e.g. the handbook)? Probably not - it should be added so this question doesn't have to be answered daily. Kris --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDj1vaWry0BWjoQKURAhAhAJ9Erh4ZLh29A04xmqIv4F3YcJE5WwCfdKDA OCnC4aln44mpsATsxamnoHc= =3omh -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v--