Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 2004 14:01:53 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Jim Hatfield <subscriber@insignia.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Library major version changes
Message-ID:  <20040324140153.GA11622@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <fs3360trtn3rom519jq1ecirfh3294dq3g@4ax.com>
References:  <fs3360trtn3rom519jq1ecirfh3294dq3g@4ax.com>

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

--u3/rZRmxL6MmkK24
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Mar 24, 2004 at 01:47:42PM +0000, Jim Hatfield wrote:
> Which leaves me with (potentially) installed applications
> which depend on libexpat.so.4, which no longer exists.
>=20
> I'm afraid to do *anything* to this machine now, in case=20
> stopping, say, the apache server means it won't start again.

If you use portupgrade(1) and you don't use the '-u' flag, then a copy
of any shlib owned by a port will be preserved in
/usr/local/lib/compat/pkg/.  That directory is added to the standard
ldconfig path by the 000.pkgtools.sh startup script which comes with
portupgrade.  All in all, that means that programs depending on
outmoded shared libraries should still work and restart correctly.

Eventually you should update all software that depends on the updated
shlib, but that can be quite hard to do.  The sysutils/libchk port
will help you do that, as will following instructions to run
'portupgrade -rf' and, something which seems to be happening more
frequently now, maintainers bumping the PORTREVISION number on their
ports if the port links against a shlib that has been updated.

Together all those measures should smooth over most of the problems
you might run into.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--u3/rZRmxL6MmkK24
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAYZTRdtESqEQa7a0RAl+NAJ9hyyE9tuRyzNqrYiQ2J91ij/12nACfVBj1
qetycWpL7QebIXGoyGke4AY=
=Mrmp
-----END PGP SIGNATURE-----

--u3/rZRmxL6MmkK24--



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