cyradm + db_version

joost Maenen j.maenen at home.nl
Tue Jul 1 19:48:22 EDT 2003


Oke ...
I give up
 
Installed new perl 5.8.0 .. did patch it with DB_File-1.806.tar.
Make test of perl worked fine no errors
 
Then I tried 
export CYRUS_SRC=/path/to/cyrus-imapd-source-dir]
perl Makefile.PL
make
 
and then make test gives the logging below ..
 
 
make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01-imclient....Can't load
'/home/joost/cyrus-imapd-2.2.0-ALPHA/perl/imap/blib/arch/auto/Cyrus/IMAP
/IMAP.so' for module Cyrus::IMAP:
/home/joost/cyrus-imapd-2.2.0-ALPHA/perl/imap/blib/arch/auto/Cyrus/IMAP/
IMAP.so: undefined symbol: db_version at
/usr/lib/perl5/5.8.0/i686-linux/DynaLoader.pm line 229.
 at t/01-imclient.t line 51
Compilation failed in require at t/01-imclient.t line 51.
BEGIN failed--compilation aborted at t/01-imclient.t line 51.
 
t/01-imclient....dubious
        Test returned status 255 (wstat 65280, 0xff00)
t/02-admin.......Can't load
'/home/joost/cyrus-imapd-2.2.0-ALPHA/perl/imap/blib/arch/auto/Cyrus/IMAP
/IMAP.so' for module Cyrus::IMAP:
/home/joost/cyrus-imapd-2.2.0-ALPHA/perl/imap/blib/arch/auto/Cyrus/IMAP/
IMAP.so: undefined symbol: db_version at
/usr/lib/perl5/5.8.0/i686-linux/DynaLoader.pm line 229.
 at
/home/joost/cyrus-imapd-2.2.0-ALPHA/perl/imap/blib/lib/Cyrus/IMAP/Admin.
pm line 44
Compilation failed in require at
/home/joost/cyrus-imapd-2.2.0-ALPHA/perl/imap/blib/lib/Cyrus/IMAP/Admin.
pm line 44.
BEGIN failed--compilation aborted at
/home/joost/cyrus-imapd-2.2.0-ALPHA/perl/imap/blib/lib/Cyrus/IMAP/Admin.
pm line 44.
Compilation failed in require at t/02-admin.t line 51.
BEGIN failed--compilation aborted at t/02-admin.t line 51.
 
t/02-admin.......dubious
        Test returned status 255 (wstat 65280, 0xff00)
FAILED--2 test scripts could be run, alas--no output ever seen
make: *** [test_dynamic] Error 2
      
 
any idea's ??
 
-----Original Message-----
From: Nikola Milutinovic [mailto:Nikola.Milutinovic at ev.co.yu] 
Sent: Tuesday, July 01, 2003 7:52 AM
To: joost Maenen
Subject: Re: cyradm + db_version
 
>I have installed cyrus 2.2 alpha edition, cyrus-sasl-2.1.13 and
Berkeley 4.1 and the older Berkeley db 3 .
Everything compiles fine and also during installation everything goes
oke . 
But after install when trying to run cyradm I get an error that the perl
module Cyrus::Imap has a problem with the db_version  and therefore cant
load a module. 
I did find a old mail on the archives that it hat something to do with
the different db version of Berkeley but couldn't find the solution yet 
 
cyradm is just a Perl front-end for Perl package Cyrus::IMAP::Admin. It
is your Perl complaining, most likely, it was built with a different
version of BDB than your Cyrus Perl package.
 
Nix.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20030702/47d2b7fc/attachment.html


More information about the Info-cyrus mailing list