Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Jul 2009 13:06:21 -0500
From:      Peter Clark <clarkp@mtmary.edu>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Dependency confusion
Message-ID:  <4A4CF71D.5050407@mtmary.edu>
In-Reply-To: <20090702164809.GB4205@dan.emsphone.com>
References:  <4A4CD041.5020006@mtmary.edu> <20090702164809.GB4205@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Nelson wrote:
> In the last episode (Jul 02), Peter Clark said:
>> 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.
> 
> All the db* ports install files with the version number embedded in them, so
> you can have multiple versions installed without conflicts.  "ldd
> /path/to/exe" will tell you which library a given binary is linked with, and
> you can run "pkg_info -R 'db4*'" to determine which ports depend on which
> versions of db.
> 

Thanks Dan and Bill.

Dan, ldd and pkg_info -R did the trick.

I really appreciate it.

Peter




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