can't complete BerkeleyDB and Berkele.pm

Len Conrad LConrad at Go2France.com
Fri Feb 9 16:54:02 UTC 2007


Done this many times, but this time something is screwed:

FreeBSD 4.10-RELEASE

db41-4.1.25_2       The Berkeley DB package, revision 4.1

perl -MCPAN -e 'install BerkeleyDB'

fails with :

Manifying blib/man3/BerkeleyDB.3
   /usr/bin/make  -- OK
Running make test

PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" 
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

t/btree........Can't load 
'/root/.cpan/build/BerkeleyDB-0.31/blib/arch/auto/BerkeleyDB/BerkeleyDB.so' 
for module BerkeleyDB: 
/root/.cpan/build/BerkeleyDB-0.31/blib/arch/auto/BerkeleyDB/BerkeleyDB.so: 
Undefined symbol "db_create" at 
/usr/local/lib/perl5/5.8.8/i386-freebsd/DynaLoader.pm line 230.
  at t/btree.t line 6

Compilation failed in require at t/btree.t line 6.

BEGIN failed--compilation aborted at t/btree.t line 6.

Undefined subroutine &BerkeleyDB::Term::close_everything called at 
/root/.cpan/build/BerkeleyDB-0.31/blib/lib/BerkeleyDB.pm line 1675.

END failed--call queue aborted at t/btree.t line 6.

t/btree........dubious
         Test returned status 2 (wstat 512, 0x200)

t/cds..........Can't load 
'/root/.cpan/build/BerkeleyDB-0.31/blib/arch/auto/BerkeleyDB/BerkeleyDB.so' 
for module BerkeleyDB: 
/root/.cpan/build/BerkeleyDB-0.31/blib/arch/auto/BerkeleyDB/BerkeleyDB.so: 
Undefined symbol "db_create" at 
/usr/local/lib/perl5/5.8.8/i386-freebsd/DynaLoader.pm line 230.
  at t/cds.t line 8

... etc, etc.

Suggestions?

thanks
Len



More information about the freebsd-questions mailing list