portupgrade portupgrade leaves an error....

Sergey Matveychuk sem at FreeBSD.org
Sat Jul 1 13:57:23 UTC 2006

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.


More information about the freebsd-ports mailing list