Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Dec 2005 15:23:54 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Update 5.4 -> 6.0
Message-ID:  <20051201202354.GA4786@xor.obsecurity.org>
In-Reply-To: <438EB173.50005@infracaninophile.co.uk>
References:  <20051201043300.GA97608@ns2.wananchi.com> <438EB173.50005@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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