Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 May 2007 10:21:36 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Doug Barton <dougb@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Specs for saving old shared libs
Message-ID:  <20070520002136.GJ1164@turion.vk2pj.dyndns.org>
In-Reply-To: <464F868D.7020601@FreeBSD.org>
References:  <20070518140441.GA17685@lpthe.jussieu.fr> <464F868D.7020601@FreeBSD.org>

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

--u3W6riq+uV6J42Ub
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2007-May-19 16:21:49 -0700, Doug Barton <dougb@freebsd.org> wrote:
> 1. Before deinstall, save shared libs in /usr/local/lib/compat/pkg
> 2. After install, remove anything from /usr/local/lib/compat/pkg with the=
=20
> same name as something installed by the new port.

One possible gotcha with blindly implementing this is that some ports
install local copies of .so's in private directories that are also
parts of other ports.  One example I recently bumped into is that
OpenOffice.org 2.2 installs a private copy of python-2.3 using the
same .so names as python.

> I still feel that the only safe way to do this is to find the union of=20
> 'ldconfig -r' and 'pkg_info -L' and save those files, and those files onl=
y.

That should be intersection, not union.  I think this makes sense -
there is no point in backing up private .so files because these should
only be referenced by the port in question (and therefore the old .so
files should be unnecessary once the old port version is deleted).

--=20
Peter Jeremy

--u3W6riq+uV6J42Ub
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFGT5SQ/opHv/APuIcRAsaBAJ9GB2Q/s2kQLhGYVLM6LMW9uyE14QCbBTvM
d3OtAXgqnAcb5+e3iRawu5A=
=KAgw
-----END PGP SIGNATURE-----

--u3W6riq+uV6J42Ub--



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