[exim] Re: Cannot open exim_dbmbuild database in perl

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Bernd Holzinger
Dátum:  
Címzett: exim-users
Tárgy: [exim] Re: Cannot open exim_dbmbuild database in perl
Hi Daniel,

thanks for your answer

>> [ perl ]
>> use BerkeleyDB;
>> [..]
>> BDB version: 3.2
>               ^^^
>> - Exim version 4.50 uid=0 gid=0 pid=12707 D=fbb95dfd
>> Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52:
>                                               ^^^^^^
>> Is this a version conflict?

>
>Yes.
>
>I don't really understand why BDB version in Perl is 3.2,
>libberkeleydb-perl depends on libdb4.3 on my sarge 3.1 boxes. Are you
>sure your system is completely up-to-date?


apt-get update
apt-get upgrade
does not find anything to update

>Did you install BerkeleyDB
>Perl modules manually some time?


I've installed them via "perl -MCPAN -e shell"

>Could you try running this command:
>
>perl -MBerkeleyDB -d -e ''
>
>Press "M" at the debugger prompt. Where does 'BerkeleyDB' point to?


# perl -MBerkeleyDB -d -e ''

Loading DB routines from perl5db.pl version 1.25
Editor support available.

Enter h or `h h' for help, or `man perldebug' for more help.

BerkeleyDB::Term::CODE(0x842876c)(/usr/local/lib/perl/5.8.4/BerkeleyDB.pm:1649):
1649:       close_everything() ;
  DB<1> M
'AutoLoader.pm' => '5.60 from /usr/share/perl/5.8/AutoLoader.pm'
'BerkeleyDB.pm' => '0.26 from /usr/local/lib/perl/5.8.4/BerkeleyDB.pm'
'Carp.pm' => '1.02 from /usr/share/perl/5.8/Carp.pm'
'Carp/Heavy.pm' => '/usr/share/perl/5.8/Carp/Heavy.pm'
'Config.pm' => '/usr/lib/perl/5.8/Config.pm'
'DynaLoader.pm' => '1.04 from /usr/lib/perl/5.8/DynaLoader.pm'
'Exporter.pm' => '5.58 from /usr/share/perl/5.8/Exporter.pm'
'Fcntl.pm' => '1.05 from /usr/lib/perl/5.8/Fcntl.pm'
'File/Spec.pm' => '3.09 from /usr/local/lib/perl/5.8.4/File/Spec.pm'
'File/Spec/Unix.pm' => '1.5 from
/usr/local/lib/perl/5.8.4/File/Spec/Unix.pm'
'IO.pm' => '1.22 from /usr/local/lib/perl/5.8.4/IO.pm'
'IO/File.pm' => '1.13 from /usr/local/lib/perl/5.8.4/IO/File.pm'
'IO/Handle.pm' => '1.25 from /usr/local/lib/perl/5.8.4/IO/Handle.pm'
'IO/Seekable.pm' => '1.1 from
/usr/local/lib/perl/5.8.4/IO/Seekable.pm'
'SelectSaver.pm' => '1.00 from /usr/share/perl/5.8/SelectSaver.pm'
'SelfLoader.pm' => '1.0904 from /usr/share/perl/5.8/SelfLoader.pm'
'Symbol.pm' => '1.05 from /usr/share/perl/5.8/Symbol.pm'
'Term/Cap.pm' => '1.09 from /usr/local/share/perl/5.8.4/Term/Cap.pm'
'Term/ReadKey.pm' => '2.30 from
/usr/local/lib/perl/5.8.4/Term/ReadKey.pm'
'Term/ReadLine.pm' => '1.01 from /usr/share/perl/5.8/Term/ReadLine.pm'
'Term/ReadLine/Perl.pm' => '0.99 from
/usr/local/share/perl/5.8.4/Term/ReadLine/Perl.pm'
'Term/ReadLine/readline.pm' => '1.0203 from
/usr/local/share/perl/5.8.4/Term/ReadLine/readline.pm'
'UNIVERSAL.pm' => '1.01 from /usr/share/perl/5.8/UNIVERSAL.pm'
'XSLoader.pm' => '0.02 from /usr/lib/perl/5.8/XSLoader.pm'
'perl5db.pl' => '1.25 from /usr/share/perl/5.8/perl5db.pl'
'strict.pm' => '1.03 from /usr/share/perl/5.8/strict.pm'
'vars.pm' => '1.01 from /usr/share/perl/5.8/vars.pm'
'warnings.pm' => '1.03 from /usr/share/perl/5.8/warnings.pm'
'warnings/register.pm' => '1.00 from
/usr/share/perl/5.8/warnings/register.pm'
  DB<1> q



>PS: "q" finally quits the debugger again. :o)

thanks


as far as I can see from http://cpan.uwinnipeg.ca/dist/BerkeleyDB
version 0.26 is the most recent one and it shoul provide an
interface to Berkeley DB version 2, 3 or 4