From owner-freebsd-questions Sat Sep 30 2:57:41 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 5CE3637B502; Sat, 30 Sep 2000 02:57:28 -0700 (PDT) Received: from wp2 (wp2 [192.168.0.12]) by osiris.ipform.ru (8.11.0/8.11.0) with SMTP id e8U9vER54867; Sat, 30 Sep 2000 13:57:15 +0400 (MSD) (envelope-from matrix@ipform.ru) Message-ID: <00df01c02ac4$d0729260$0c00a8c0@ipform.ru> From: "Artem Koutchine" To: "Erik Trulsson" Cc: , References: <037201c02a10$e72e7a00$0c00a8c0@ipform.ru> <20000929160401.A4637@student.uu.se> Subject: Re: Where is Berkley DB libdb? Date: Sat, 30 Sep 2000 13:51:30 +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: "Erik Trulsson" > On Fri, Sep 29, 2000 at 04:23:59PM +0400, Artem Koutchine wrote: > > 1) Did someone compiled berkeley db statically into some other library > > (libc?) like > > the one on Red Hat did? not good. > > A quick browse of the source shows that it is indeed in libc. > > > 2) What version of db is installed by default, how can i see it? > > Looking at the source it appears to be version 1.85 > > > > 3) How can i avoid all this mess and make every single executable use the > > version > > i have installed (2.7.7). > > Probably not without a lot of problems. You would basically have to replace > the system version with the new one, make world, make sure that any > database files that the system use have been updated. Not for the faint of > heart. (Basically, if you don't know how to check the sources to see what > version of db it has you shouldn't even try this.) > > Note that files created with the 2.x versions of DB are *not* compatible with > the older 1.x versions. > > > > > All this is causing me a lot of trouble, because DB_File cannot access db > > files > > created on Linux (Mandrake 7.1 and some version of Slackware, i think it is > > latest). > > I have multi-os development office, so, no os wars. > > This is not really an OS problem but rather a problem with different DB > versions using different file formats and newer versions not being able of > handling the old formats. Oh really? I think THIS IS oS problem because somebody put in many respects external package into the source code and keeps it a very old version, whereas 3.x already exists, they still use 1.x This plain sucks, because this kills the idea of several oses working together. THIS MUST BE CHANGED either by finaly updating the version in src or making it an external package (i mean a separate db library, why not?) I am writing a letter to the developers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message