Date: Thu, 05 Oct 2000 20:49:18 CST From: "frank xu" <bsdman@hotmail.com> To: questions@FreeBSD.ORG Subject: Re: Cannot use any other BDB than builtin Berkeley DB Message-ID: <F30aaz7EjQxzmWecm9t0000ec56@hotmail.com>
next in thread | raw e-mail | index | archive | help
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" <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 _________________________________________________________________________ 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F30aaz7EjQxzmWecm9t0000ec56>