Alexander Lunyov schrieb am Mon, Jan 14, 2002 at 03:09:18PM +0300:
> Hello All,
> 
>       I have cyrus-sasl 1.5.24 and cyrus 2.0.16 on FreeeBSD 4.1.1.
>       Cyrus itself works (telnet localhost imap - says that everything
>       is ok), and i even can log in to. But i can't run cyradm, it says:
> 
> 
> kudr# /usr/local/bin/cyradm
> Can't load '/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Cyrus/IMAP/IM
> AP.so' for module Cyrus::IMAP: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
> /auto/Cyrus/IMAP/IMAP.so: Undefined symbol "sasl_client_init" at /usr/libdata/pe
> rl/5.00503/DynaLoader.pm line 169.
> 
>  at /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Cyrus/IMAP/Admin.pm line 4
> 3
> BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.005/i386-f
> reebsd/Cyrus/IMAP/Admin.pm line 43.
> BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.005/i386-f
> reebsd/Cyrus/IMAP/Shell.pm line 58.
> BEGIN failed--compilation aborted.
> kudr#
>       
>       What   i've   done wrong? Is it about configuration files, or is
>       it about the system?

System.  Your perl module should be linked to a library (libsasl.so) which 
should contain an important function (sasl_client_init).  Normally, every 
working cyrus-sasl installation should deploy libsasl.so somewhere
 (/usr/local/lib/?) which should contain sasl_client_init().  

 $ ldd /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Cyrus/IMAP/IMAP.so

will tell you against which libs your perl module is linked to.  Maybe this is
an old lib whereas the correct one sits somewhere else?  Or your module is not
at all linked to libsasl.so? (which is definitely a broken cyrus install then)


Regards,

- Birger

Reply via email to