cyradm problems

Rudy Gevaert Rudy.Gevaert at UGent.be
Fri Jul 7 08:17:14 EDT 2006


Jeff Peng wrote:
> When I run cyradm I got these errors:
> 
> # cyradm
> Can't load 
> '/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Cyrus/IMAP/IMAP.so' 
> for module Cyrus::IMAP: 
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Cyrus/IMAP/IMAP.so: 
> undefined symbol: db_version at 
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
> at 
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/IMAP/Admin.pm 
> line 44
> Compilation failed in require at 
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/IMAP/Admin.pm 
> line 44.
> BEGIN failed--compilation aborted at 
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/IMAP/Admin.pm 
> line 44.
> Compilation failed in require at 
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/IMAP/Shell.pm 
> line 60.
> BEGIN failed--compilation aborted at 
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/IMAP/Shell.pm 
> line 60.
> Compilation failed in require.
> BEGIN failed--compilation aborted.
> 
> I know it's not suitable to ask it here,but I think many people here 
> maybe have meet this problem.
> Could you give me some suggestion?
> The OS is Redhat 9,the Perl version is v5.8.0.
> thanks.
> 

It means that the Cyrus imap perl libraries aren't in the places where 
perl is looking for them.

You can set the PERL5LIB environment variable for this:

PERL5LIB=/path/to/cyrus/lib/perl/5.8.4/
export PERL5LIB

Or tell cyrus to install the library in the places where perl looks by 
default.
-- 
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert          Rudy.Gevaert at UGent.be          tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur  Direction ICT, Infrastructure dept.
Groep Systemen                     Systems group
Universiteit Gent                  Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


More information about the Info-cyrus mailing list