portupgrade portupgrade leaves an error....
kostikbel at gmail.com
Sat Jul 1 14:07:19 UTC 2006
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
> >>> 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?
% 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-188.8.131.52 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=43,
ruby-bdb used headers from 4.3, but linked against 4.4.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060701/2108e3fb/attachment.pgp
More information about the freebsd-ports