From owner-freebsd-ports@FreeBSD.ORG Sun Jul 2 12:07:32 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C302A16A40F for ; Sun, 2 Jul 2006 12:07:32 +0000 (UTC) (envelope-from yattaran@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1923843FBB for ; Sun, 2 Jul 2006 12:07:31 +0000 (GMT) (envelope-from yattaran@gmail.com) Received: by nf-out-0910.google.com with SMTP id c29so583463nfb for ; Sun, 02 Jul 2006 05:07:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=GG6oJRmM+28ss8yYU3qOnUiFgAqUalQI1sGmFF2GBxYhbFWjen8tdKAcDK9RFSZw82b9yrvIKqm1QjDNYDANQEhTLXI4codv1KT1lAO5OzGuVMVH8i1jnU4rh7+yKwxw7zEzTSIeX9QmbF8GtpA27pQYnpommh4sSpJXd6tjD+M= Received: by 10.49.20.14 with SMTP id x14mr1581702nfi; Sun, 02 Jul 2006 05:07:29 -0700 (PDT) Received: from ?193.217.31.148? ( [193.217.31.148]) by mx.gmail.com with ESMTP id c28sm977581nfb.2006.07.02.05.07.28; Sun, 02 Jul 2006 05:07:29 -0700 (PDT) Message-ID: <44A7B6FA.7070905@gmail.com> Date: Sun, 02 Jul 2006 14:07:22 +0200 From: yattaran User-Agent: Thunderbird 1.5.0.4 (X11/20060605) MIME-Version: 1.0 To: David J Brooks References: <200606301851.39983.daeg@houston.rr.com> In-Reply-To: <200606301851.39983.daeg@houston.rr.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Ports Subject: Re: portupgrade portupgrade leaves an error.... X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jul 2006 12:07:32 -0000 David J Brooks wrote: > After running 'portupgrade portupgrade' I am left with the following error > when I run portversion or portupgrade, or pretty much any program that > addresses the ports collection: > > /libexec/ld-elf.so.1: /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd6/bdb.so: > Undefined symbol "db_version" > > Any ideas on how to fix it? > > David I fixed this issue a couple of days ago. I googled and read that it was probably due to having several db4* packages installed (db4, db41 and db42). I then removed db4 and db41 (no packages were depending on neither) with pkg-delete. I was actually surprised to find that I had several db4* packages installed so I figured I should replace all of them with the latest (db44). I then replaced db42 with db44: portmaster -o /usr/ports/databases/db44 db42-4.2.52_4 Then figured out what depended on db44: pkg_info -Rr 'db44*' Information for db44-4.4.20.2: Depends on: Required by: apr-db42-1.2.7_1 nicotine-1.0.8_1 portupgrade-2.1.3.2,2 py24-bsddb-2.4.3_2 ruby18-bdb-0.5.9 Rebuild each by running portmaster for each and everyone of those. Voila! Everything was working perfectly again (including portupgrade) :-) -- yattaran