From owner-freebsd-questions Thu Oct 5 2:27:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from osiris.ipform.ru (osiris.ipform.ru [212.158.165.98]) by hub.freebsd.org (Postfix) with ESMTP id C5B0937B503; Thu, 5 Oct 2000 02:27:24 -0700 (PDT) Received: from wp2 (wp2 [192.168.0.12]) by osiris.ipform.ru (8.11.0/8.11.0) with SMTP id e959QP838181; Thu, 5 Oct 2000 13:26:26 +0400 (MSD) (envelope-from matrix@ipform.ru) Message-ID: <008301c02eae$5d194be0$0c00a8c0@ipform.ru> From: "Artem Koutchine" To: "Tom Samplonius" Cc: "xuyifeng" , "Dan Nelson" , , References: Subject: Cannot use any other BDB than builtin Berkeley DB Date: Thu, 5 Oct 2000 13:26:22 +0400 Organization: IP Form MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message