From owner-freebsd-questions Tue Oct 3 11:34:19 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 A3DFE37B66C; Tue, 3 Oct 2000 11:34:10 -0700 (PDT) Received: from wp2 (wp2 [192.168.0.12]) by osiris.ipform.ru (8.11.0/8.11.0) with SMTP id e93IXB806561; Tue, 3 Oct 2000 22:33:11 +0400 (MSD) (envelope-from matrix@ipform.ru) Message-ID: <004001c02d68$66262b00$0c00a8c0@ipform.ru> From: "Artem Koutchine" To: "Dan Nelson" Cc: "xuyifeng" , , 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> Subject: Re: Where is Berkley DB libdb? Date: Tue, 3 Oct 2000 22:33:09 +0400 Organization: IP Form MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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: "Dan Nelson" > 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