Date: Thu, 6 Jan 2005 12:53:52 -0800 From: "Michael C. Shultz" <reso3w83@verizon.net> To: freebsd-ports@freebsd.org Subject: Re: mpeg4ip requires IPv6? Message-ID: <200501061253.52931.reso3w83@verizon.net> In-Reply-To: <20050106204827.GA28897@odin.ac.hmc.edu> References: <20050106183900.1966.qmail@web53607.mail.yahoo.com> <200501061239.17851.ringworm@inbox.lv> <20050106204827.GA28897@odin.ac.hmc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 06 January 2005 12:48 pm, you wrote: > On Thu, Jan 06, 2005 at 12:39:16PM -0800, Michael C. Shultz wrote: > > On Thursday 06 January 2005 11:48 am, you wrote: > > > On Thu, Jan 06, 2005 at 10:38:59AM -0800, Scott I. Remick wrote: > > > > Ah, the useful information starts pouring in! > > > > > > > > On Thu, 6 Jan 2005 08:51:49 -0800, Michael C. Shultz wrote: > > > > > Just a suggestion here, two ways you can go about this > > > > > so here is the hard way first: > > > > > > > > > > Rename /usr/src/lib/compat to /usr/src/lib/compat-HOLD or > > > > > something like that, then what ever programs are linked > > > > > against them will fail and these need to be rebuilt. > > > > > > > > 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. > > > > does pkg_which get its information from pkgdb.db? If so I would be > > hesitant to trust which port version actually installed each > > library because I think pkgdb -F modifies pkgdb.db to say they were > > installed by currently installed ports and looses the information > > about which version really installed them. > > pkg_which does us pkgdb.db which is exactly what you want since you > want to know which package needs to be removed and reinstalled in > order to remove dependencies on the particular library you are > worrying about. > > -- Brooks Ok, I get it finally. If I were to remove the port that installed the library that I am certain is too old then portmanager -u would handle the rest from there. Thanks. -Mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501061253.52931.reso3w83>