From owner-freebsd-questions@FreeBSD.ORG Thu Feb 27 15:08:03 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AD97BDAC for ; Thu, 27 Feb 2014 15:08:03 +0000 (UTC) Received: from blu0-omc4-s13.blu0.hotmail.com (blu0-omc4-s13.blu0.hotmail.com [65.55.111.152]) by mx1.freebsd.org (Postfix) with ESMTP id 77502145A for ; Thu, 27 Feb 2014 15:08:02 +0000 (UTC) Received: from BLU0-SMTP63 ([65.55.111.137]) by blu0-omc4-s13.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 27 Feb 2014 07:06:56 -0800 X-TMN: [08JgekHU2GVmkIf62K+desYmYMLXh8AR] X-Originating-Email: [drew@mykitchentable.net] Message-ID: Received: from [127.0.0.1] ([69.62.167.70]) by BLU0-SMTP63.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 27 Feb 2014 07:06:53 -0800 Date: Thu, 27 Feb 2014 07:06:46 -0800 From: Drew Tomlinson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: How to Find Why Port "X" Is Installed? Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 140227-0, 02/26/2014), Outbound message X-Antivirus-Status: Clean X-OriginalArrivalTime: 27 Feb 2014 15:06:53.0859 (UTC) FILETIME=[8CAE7730:01CF33CD] Sender: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Feb 2014 15:08:03 -0000 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. Thanks, Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com