Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jul 2006 09:45:33 -0500
From:      David J Brooks <daeg@houston.rr.com>
To:        freebsd-ports@freebsd.org
Cc:        Kostik Belousov <kostikbel@gmail.com>, FreeBSD Ports <ports@freebsd.org>, Sergey Matveychuk <sem@freebsd.org>
Subject:   Re: portupgrade portupgrade leaves an error....
Message-ID:  <200607010945.34281.daeg@houston.rr.com>
In-Reply-To: <44A67F4D.5060809@FreeBSD.org>
References:  <200606301851.39983.daeg@houston.rr.com> <44A675F7.7020204@FreeBSD.org> <44A67F4D.5060809@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 01 July 2006 08:57, Sergey Matveychuk wrote:
> 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.

These are the db versions that I have installed:
db4-4.0.14_1,1
db41-4.1.25_3
db42-4.2.52_4

This is what is set in /var/db/ports/portupgrade/options:
WITH_BDB4=true

I'm not sure which of those installed versions is being built against and/or 
linked to...

David
-- 
Sure God created the world in only six days,
but He didn't have an established user-base.



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