From owner-freebsd-questions@FreeBSD.ORG Thu Jul 2 16:48:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A15E106566C for ; Thu, 2 Jul 2009 16:48:39 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id D0BAD8FC25 for ; Thu, 2 Jul 2009 16:48:38 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.ws.pitbpa0.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 229C7EBC3F; Thu, 2 Jul 2009 12:48:38 -0400 (EDT) Date: Thu, 2 Jul 2009 12:47:10 -0400 From: Bill Moran To: Peter Clark Message-Id: <20090702124710.73d971d0.wmoran@potentialtech.com> In-Reply-To: <4A4CD041.5020006@mtmary.edu> References: <4A4CD041.5020006@mtmary.edu> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.7; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Dependency confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2009 16:48:40 -0000 In response to Peter Clark : > > I have a number of ports installed on my 7.2Release box. When I issue > pkg_info I see that I have both db41-4.1.25_4 and db46-4.6.21.4 > installed. Is there an easy way to see which program is linked to which > db? Is this some sort of redundant listing and I really only have db4.6 > installed or can you have both side by side? My real concern is about > which db backend my cyrus-imap-23 is linked against. You can use ldd on the binary to see which libraries it's linked against. Also, if you pkg_delete each of the packages, it will refuse to delete them if they're still used by other packages, and it will tell you which packages are using them. (You can probably do that second one with pkg_info as well, but I don't know the syntax off the top of my head) -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/