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

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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