From owner-freebsd-questions Thu Oct 5 5:49:20 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f30.pav1.hotmail.com [64.4.31.30]) by hub.freebsd.org (Postfix) with ESMTP id 7BF5337B502 for ; Thu, 5 Oct 2000 05:49:18 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 5 Oct 2000 05:49:18 -0700 Received: from 202.101.165.61 by pv1fd.pav1.hotmail.msn.com with HTTP; Thu, 05 Oct 2000 12:49:18 GMT X-Originating-IP: [202.101.165.61] From: "frank xu" To: questions@FreeBSD.ORG Subject: Re: Cannot use any other BDB than builtin Berkeley DB Date: Thu, 05 Oct 2000 20:49:18 CST Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 05 Oct 2000 12:49:18.0273 (UTC) FILETIME=[ACBD4310:01C02ECA] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG sigh, why do FreeBSD have such stupid design? I suspect spliting Berkeley db from libc will break many things, so the problem is complex. but this inhibit us using any new version of BDB, really a bad thing :( Regards, XuYifeng From: "Tom Samplonius" >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 _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message