DB_File needs compatible versions of libdb & db.h

DB_File needs compatible versions of libdb & db.h

am 04.05.2006 11:14:49 von njaggan

Hello all,
When I try to use DB_File, I get the following error:
DB_File needs compatible versions of libdb & db.h
you have db.h version 4.1.24 and libdb version 4.1.25
Compilation failed in require at
/apollo/env/BBS-michalek/perl/lib/Amazon/Personalization/BDB Struct.pm
line 19.
BEGIN failed--compilation aborted at
/apollo/env/BBS-michalek/perl/lib/Amazon/Personalization/BDB Struct.pm
line 19.
Compilation failed in require at ./keyword-browse-ftc.pl line 26.
BEGIN failed--compilation aborted at ./keyword-browse-ftc.pl line 26.

I use perl-std-5.6.1 and RHEL3. I have installed CPAN BerkeleyDB-0-27.
Can someone help me reg this.

Re: DB_File needs compatible versions of libdb & db.h

am 05.05.2006 14:24:08 von Charles DeRykus

njaggan@gmail.com wrote:
> Hello all,
> When I try to use DB_File, I get the following error:
> DB_File needs compatible versions of libdb & db.h
> you have db.h version 4.1.24 and libdb version 4.1.25
> Compilation failed in require at
> /apollo/env/BBS-michalek/perl/lib/Amazon/Personalization/BDB Struct.pm
> line 19.
> BEGIN failed--compilation aborted at
> /apollo/env/BBS-michalek/perl/lib/Amazon/Personalization/BDB Struct.pm
> line 19.
> Compilation failed in require at ./keyword-browse-ftc.pl line 26.
> BEGIN failed--compilation aborted at ./keyword-browse-ftc.pl line 26.
>
> I use perl-std-5.6.1 and RHEL3. I have installed CPAN BerkeleyDB-0-27.
> Can someone help me reg this.

You may have multiple versions of Berkeley DB around.

Take a look at the section "Incompatible versions of db.h and libdb" in
the source README.

hth,
--
Chales DeRykus