Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2014 16:20:18 +0100
From:      Tijl Coosemans <tijl@coosemans.org>
To:        Drew Tomlinson <drew@mykitchentable.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to Find Why Port "X" Is Installed?
Message-ID:  <20140227162018.3314629c@kalimero.tijl.coosemans.org>
In-Reply-To: <BLU0-SMTP633F512AE638514255E032B3830@phx.gbl>
References:  <BLU0-SMTP633F512AE638514255E032B3830@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 27 Feb 2014 07:06:46 -0800 Drew Tomlinson wrote:
> I'm using FBSD 10 and trying to work through the things I broke after 
> running 'make delete-old-libs' as suggested in the handbook. Ultimately 
> I just rebuilt all ports with 'portupgrade -f "*" '. Unfortunately, I 
> had an issue with databases/db42 and then other issues because it failed.
> 
> I tried running it again and saw messages about it being deprecated.  
> Then it failed with this line:
> 
> /usr/bin/ld: .libs/cxx_db.o: relocation R_X86_64_32S against `_ZTV2Db' 
> can not be used when making a shared object; recompile with -fPIC
> .libs/cxx_db.o: could not read symbols: Bad value
> c++: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> *** [libdb_cxx-4.2.la] Error code 1
> 
> So I don't know what that is all about but it led me to wonder why 
> databases/db42 is on my system in the first place.  If I know what port 
> pulled it in, then maybe I can rebuild that port to use a newer version 
> of this that's not deprecated.  I've read the new pkg man page but can't 
> figure out how to get it to tell me what pulled databases/db42 in.

pkg info -rx db42

You can read more about this in pkg-info(8) or with "pkg help info".



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