Cyrus and Perl problem - cyradm

Kurt Laurinaitis kli4561 at saintjoe.edu
Wed Jul 20 00:29:14 EDT 2005


Hello all,

I am running slackware 10.1.  I have cyrus imapd 2.2.12 and sasl 2.1.21 
and Berkeley 4.3.28.  With slackware you get 3 bdb libs pre-installed.  
They are of no use so I installed a fresh copy of bdb.  I configured 
Cyrus with this:

./configure --with-bdb-libdir=/usr/local/BerkeleyDB.4.3/lib/  
--with-bdb-incdir=
/usr/local/BerkeleyDB.4.3/include/ --with-dblib=berkeley 
--with-dbpath=/etc/sasl
db2 --with-perl=/usr/bin/perl

and performed the following commands in the cyrus docs

make depend
make all CFLAGS=-O
make install

I got cyrus to run.  I tested it with:

telnet localhost imap

that responded with a message saying the Cyrus was good to go. 

The problem enlies when I try to run cyradm.  When I try to run that 
command I get the very common error of db_version undefined.  All of the 
threads on the list point to redhat.  I am not running redhat nor will 
the RPM installation help me, so that's what I am asking for help.

Can't load 
'/usr/lib/perl5/site_perl/5.8.6/i486-linux//auto/Cyrus/IMAP/IMAP.so' for 
module Cyrus::IMAP: 
/usr/lib/perl5/site_perl/5.8.6/i486-linux//auto/Cyrus/IMAP/IMAP.so: 
undefined symbol: db_version at 
/usr/lib/perl5/5.8.6/i486-linux/DynaLoader.pm line 230.
 at /usr/lib/perl5/site_perl/5.8.6/i486-linux//Cyrus/IMAP/Admin.pm line 44
Compilation failed in require at 
/usr/lib/perl5/site_perl/5.8.6/i486-linux//Cyrus/IMAP/Admin.pm line 44.
BEGIN failed--compilation aborted at 
/usr/lib/perl5/site_perl/5.8.6/i486-linux//Cyrus/IMAP/Admin.pm line 44.
Compilation failed in require at 
/usr/lib/perl5/site_perl/5.8.6/i486-linux//Cyrus/IMAP/Shell.pm line 60.
BEGIN failed--compilation aborted at 
/usr/lib/perl5/site_perl/5.8.6/i486-linux//Cyrus/IMAP/Shell.pm line 60.
Compilation failed in require.
BEGIN failed--compilation aborted.


Any help would be appreciated.  Thank you

Kurt



---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list