Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Oct 2000 13:26:22 +0400
From:      "Artem Koutchine" <matrix@ipform.ru>
To:        "Tom Samplonius" <tom@sdf.com>
Cc:        "xuyifeng" <xuyifeng@stocke.com>, "Dan Nelson" <dnelson@emsphone.com>, <questions@FreeBSD.ORG>, <freebsd-database@FreeBSD.ORG>
Subject:   Cannot use any other BDB than builtin Berkeley DB
Message-ID:  <008301c02eae$5d194be0$0c00a8c0@ipform.ru>
References:  <Pine.BSF.4.05.10010041931090.29264-100000@misery.sdf.com>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Tom Samplonius" <tom@sdf.com>
> On Tue, 3 Oct 2000, Artem Koutchine wrote:
>
> > So, lets get to it onces again.
> >
> > Given:
> >     db file created with 2.7.0 os Linux Slackware
> >     FreeBSD 4.1.1-stable with 1.85 included in libc (damn it, get it out
of
>
>   I'm under the impression that db files created with versions prior to
> version 3.something are not cross-platform, so I doubt that this will ever
> work unless you use 3.1 everywhere.  3.1 co-exists with previous versions
> better than any previous version because the default install location is
> /usr/local/BerkeleyDB.3.1.

Well, we have installed BDB 3.1.14 on the linux box  (Mandrake 7.1)
and 3.1.17 on FreeBSD (4.1.1-stable)
from the ports. Then Installed DB_File perl module version 1.73 on linux and
then install the same DB_File (the same sources from CPAN) on FreeBSD.
Building DB_File on freebsd complained that library for -ldb not found, but
build anyway and installed. Rebuilt the db file from a text file on FreeBSD
and
got the same db file as it was for 1.85 (built in libc).
Well, then we rebuilt DB_File again, specifing in Makefile -ldb3 and
/L/usr/local/lib
manually. It built okay.
Rebuilt db file and got the same db file again as for 1.85, anyway, tried
reading
db2 file created on linux - guess what, no luck.

SO! HOW THE HECK DO I INSTALL ANS *USE*
Berkeley DB OTHER THAN 1.85 BUILT IN LIBC?

Artem



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008301c02eae$5d194be0$0c00a8c0>