The perl module doesn't pick up the ssl libraries properly (I am assuming
that you have ssl installed and is visible to the compilation process). I
had
made following changes to the Makefile.PL to make the ssl visible. Use
the following patch to make cyradm perl module pick ssl:

--- perl/imap/Makefile.PL.orig Tue Jun 13 16:32:21 2000
+++ perl/imap/Makefile.PL Mon Nov  6 17:17:09 2000
@@ -55,8 +55,8 @@
     'macro' => {'IMCLIENT_LIBS' => ''}, # hack
     'clean' => {'FILES' => 'libcyrperl.a cyradm'},
     'OBJECT'    => 'IMAP.o ../../lib/libcyrus.a',
-    'LIBS' => ["$SASL_LIB -lssl -lcrypto"],
+    'LIBS' => ["$SASL_LIB -L/usr/local/sasl/lib -lsasl
-L/usr/local/ssl/lib -lssl -lcrypto"],
     'DEFINE' => '-DPERL_POLLUTE',     # e.g., '-DHAVE_SOMETHING'
-    'INC' => "-I../../lib $SASL_INC",
+    'INC' => "-I../../lib $SASL_INC -I/usr/local/sasl/include
-I/usr/local/ssl/include",
     'EXE_FILES' => [cyradm],
 );

I have just hard coded the path for ssl and sasl. Although the file has
provisions for sasl, inclusion of ssl made it drop sasl. Easiest thing to
do is to include sasl as well.

Note that the sasl & ssl dir path's reflect my setup, you may want to
modify it to suit your setup.

You have to provide more details on your imtest. Try the following and
see if you can login:

telnet <imap host> imap
. login <cyrus admin userid> <password>

If the above logs you in then you are there half the way.
__
Seva

Brian Estes wrote:

> when I attempt to run cyradm I get the following error...
>
> Can't load
> '/usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/Cyrus/IMAP/IMAP.so' for
> module Cyrus::IMAP: undefined symbol: SSL_write at
> /usr/lib/perl5/5.6.0/i386-linux/DynaLoader.pm line 200.
>  at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Cyrus/IMAP/Admin.pm line
> 43
> Compilation failed in require at
> /usr/lib/perl5/site_perl/5.6.0/i386-linux/Cyrus/IMAP/Admin.pm line 43.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.6.0/i386-linux/Cyrus/IMAP/Admin.pm line 43.
> Compilation failed in require at
> /usr/lib/perl5/site_perl/5.6.0/i386-linux/Cyrus/IMAP/Shell.pm line 58.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.6.0/i386-linux/Cyrus/IMAP/Shell.pm line 58.
> Compilation failed in require.
> BEGIN failed--compilation aborted.
>
> in addition I get the following response from imtest...
>
> C: C01 CAPABILITY
>
> does anyone have a suggestion?
>
> OS->redhat7
> cyrus-imap->2.0.6
>
> <><
> thanks
> Brian

Reply via email to