From owner-freebsd-current@FreeBSD.ORG Fri Nov 23 23:54:47 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D331527D for ; Fri, 23 Nov 2012 23:54:47 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id A87AD8FC0C for ; Fri, 23 Nov 2012 23:54:47 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id qANNskP6023230; Fri, 23 Nov 2012 23:54:46 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id avrdfcnqbwsi476u2kjdiepy26; Fri, 23 Nov 2012 23:54:46 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: pkg - Shared object "libarchive.so.5" not found, required by "pkg" Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: Date: Fri, 23 Nov 2012 15:54:42 -0800 Content-Transfer-Encoding: 7bit Message-Id: References: To: Christer Solskogen X-Mailer: Apple Mail (2.1283) Cc: FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 23:54:47 -0000 On Nov 23, 2012, at 2:13 PM, Christer Solskogen wrote: > 10-CURRENT was built (and installed) twice. I guess the library was > installed when I was at 9.1-RC3 but was deleted during make > delete-old. "delete-old" should not have deleted any libraries. I think you must have also done "delete-old-libs". That often requires you to reinstall all your ports as well. > Rebuilding pkg from src/usr.sbin/pkg did not do the trick. For some > reason it was still linking to the old library. > Any hints? /usr/sbin/pkg mostly just runs /usr/local/sbin/pkg You need to reinstall the pkg port as well. Tim