Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jul 2006 16:46:16 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Sergey Matveychuk <sem@freebsd.org>
Cc:        FreeBSD Ports <ports@freebsd.org>, David J Brooks <daeg@houston.rr.com>
Subject:   Re: portupgrade portupgrade leaves an error....
Message-ID:  <20060701134616.GE37822@deviant.kiev.zoral.com.ua>
In-Reply-To: <44A675F7.7020204@FreeBSD.org>
References:  <200606301851.39983.daeg@houston.rr.com> <44A66159.6050101@FreeBSD.org> <20060701121518.GB37822@deviant.kiev.zoral.com.ua> <44A675F7.7020204@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--8nsIa27JVQLqB7/C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jul 01, 2006 at 05:17:43PM +0400, 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=20
> >>> when I run portversion or portupgrade, or pretty much any program tha=
t=20
> >>> addresses the ports collection:
> >>>
> >>> /libexec/ld-elf.so.1: /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd6=
/bdb.so:=20
> >>> 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=3D43, 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.
>=20
> Have you a few Berkley DB ports installed?

Yes.

% pkg_info | grep 'db4.*'
db4-4.0.14_1,1      The Berkeley DB package, revision 4
db41-4.1.25_3       The Berkeley DB package, revision 4.1
db42-4.2.52_4       The Berkeley DB package, revision 4.2
db43-4.3.29         The Berkeley DB package, revision 4.3
db44-4.4.20.2       The Berkeley DB package, revision 4.4

Probably, I do not need 4, 4.1 and 4.2. But 4.3 and 4.4 both needed.
And, to clarify the problem, when specified WITH_BDB=3D43,
ruby-bdb used headers from 4.3, but linked against 4.4.

--8nsIa27JVQLqB7/C
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)

iD8DBQFEpnyoC3+MBN1Mb4gRAl4wAJ9tK10taNTung7Ki20b470mgODe7ACgzZg6
I7QneIUVfhlToGsOFgygsAk=
=tZUJ
-----END PGP SIGNATURE-----

--8nsIa27JVQLqB7/C--



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