Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2005 11:48:08 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        "Scott I. Remick" <scott@sremick.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: mpeg4ip requires IPv6?
Message-ID:  <20050106194808.GA24896@odin.ac.hmc.edu>
In-Reply-To: <20050106183900.1966.qmail@web53607.mail.yahoo.com>
References:  <20050106183900.1966.qmail@web53607.mail.yahoo.com>

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

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

On Thu, Jan 06, 2005 at 10:38:59AM -0800, Scott I. Remick wrote:
> Ah, the useful information starts pouring in!
>=20
> On Thu, 6 Jan 2005 08:51:49 -0800, Michael C. Shultz wrote:
>=20
> > Just a suggestion here, two ways you can go about this
> > so here is the hard way first:
> >=20
> > Rename /usr/src/lib/compat to /usr/src/lib/compat-HOLD or something lik=
e=20
> > that, then what ever programs are linked against them will fail and=20
> > these need to be rebuilt.=20
>=20
> I'd be willing to do this... but... is it possible to cheat a little and
> determine proactively what ports are linked against them? See the output =
in
> the other post I made earlier today (the huge one).

ldd will tell you what libraries a program or dynamic library is linked
against.  It's a fairly simple matter to write a script that runs it on
all programs and dynamic libraries and looks for one or more libraries.
pkg_which can then be used to generate a list of ports.  I write a
one-off a while back, but I can't see to find it.  A general tool would
be quite handly if someone wanted to hack it together.

-- Brooks

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

--fdj2RfSjLxBAspz7
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFB3ZX3XY6L6fI4GtQRAi65AKCQyZ+WTzZ5JLSE+SiwvbTjRTnHJQCdGjib
aLLHm5gn+QzbkH6Gr30OU2Q=
=jTBF
-----END PGP SIGNATURE-----

--fdj2RfSjLxBAspz7--



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