From owner-freebsd-ports@FreeBSD.ORG Sat Jul 1 13:57:23 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 052B116A403; Sat, 1 Jul 2006 13:57:23 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from mail.ciam.ru (ns.ciam.ru [213.247.195.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93D2044A68; Sat, 1 Jul 2006 13:57:22 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from [87.240.16.199] (helo=[192.168.0.3]) by mail.ciam.ru with esmtpa (Exim 4.x) id 1FwfyK-000KHQ-Ab; Sat, 01 Jul 2006 17:57:20 +0400 Message-ID: <44A67F4D.5060809@FreeBSD.org> Date: Sat, 01 Jul 2006 17:57:33 +0400 From: Sergey Matveychuk User-Agent: Thunderbird 1.5.0.4 (X11/20060701) MIME-Version: 1.0 To: Sergey Matveychuk References: <200606301851.39983.daeg@houston.rr.com> <44A66159.6050101@FreeBSD.org> <20060701121518.GB37822@deviant.kiev.zoral.com.ua> <44A675F7.7020204@FreeBSD.org> In-Reply-To: <44A675F7.7020204@FreeBSD.org> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: Kostik Belousov , FreeBSD Ports , David J Brooks 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: Sat, 01 Jul 2006 13:57:23 -0000 Sergey Matveychuk wrote: > Kostik Belousov wrote: >> On Sat, Jul 01, 2006 at 03:49:45PM +0400, Sergey Matveychuk wrote: >>> 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? >>> I guess the problem can be if you use databases/db41. Can you send me >>> list of packages you have installed (ls -1 /var/db/pkg)? >> What I noted when last update to databases/ruby-bdb was made, is that, >> despite settings of WITH_BDB=43, final shared object is linked with >> db-4.4 library. As far as I remember, I got some similar error >> when trying to use portinstall after that. > > Have you a few Berkley DB ports installed? > Yes, problem is with ruby-bdb port. If you have installed a few Berkley db ports (e.g. db40, db42, db44) ruby-bdb configure script find the highest version and will compiled with it, but if WITH_BDB points on other version, the port will formed wrong and will not work. -- Dixi. Sem.