Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Oct 2000 22:33:09 +0400
From:      "Artem Koutchine" <matrix@ipform.ru>
To:        "Dan Nelson" <dnelson@emsphone.com>
Cc:        "xuyifeng" <xuyifeng@stocke.com>, <questions@FreeBSD.ORG>, <freebsd-database@FreeBSD.ORG>
Subject:   Re: Where is Berkley DB libdb?
Message-ID:  <004001c02d68$66262b00$0c00a8c0@ipform.ru>
References:  <037201c02a10$e72e7a00$0c00a8c0@ipform.ru> <20000929095555.A14858@dan.emsphone.com> <00dd01c02ac4$8280a740$0c00a8c0@ipform.ru> <20000930142736.A13227@dan.emsphone.com> <006201c02d3a$ddd12c00$1801a8c0@xyf> <00c301c02d4b$7d445040$0c00a8c0@ipform.ru> <20001003102539.B8413@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Dan Nelson" <dnelson@emsphone.com>
> In the last episode (Oct 03), Artem Koutchine said:
> > Solution:
> >     install db 2.7.7 from ports
> >     install DB_File 1.73 from CPAN (supposed to support db up to 3.x)
> >     try to build DB_File linked agains the 2.7.7 version of DB:
> >     1) perl Makefile.PL complains:
> >         Note (probably harmless): No library found for -ldb
> >     2) try a little hack and make a link from db2 to db
> >         still 'Note (probably harmless): No library found for -ldb'
> >     3) hell with it, open generate Makefile, add -ldb2 to LDFLAGS
> >         make
> >         make test
> >         make install
> >         try to open the - no luck , which means db lib is still taken
from libc
>
> Most likely, it means you are still using the DF_File that came with
> the system.  Try removing /usr/libdata/perl/5.6.0/mach/auto/DB_File/
> and /usr/libdata/perl/5.6.0/mach/DB_File.pm .

Nope, i checked, there is only ONE DB_File on my system and it is excatly
the same which i have installed from CPAN.

> This is really more of a
> perl module-compiling problem than a FreeBSD one.

Oh, i see. What bothers me is that this perl mode-compling problem
happens only on RedHat and on FreeBSD.

Here is what i got from developers:

# Impractical.
#
# Several important libc functions depend on having databases
 # available.  Something which exports an ndbm-compatible interface is
# required by SUSv3/POSIX.1-200x.  The on-disk file formats are in any
# case incompatible between db 1.x and db y.x for all y > 1.
#
# -GAWollman

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?004001c02d68$66262b00$0c00a8c0>