Re: IMAP.so Perl problem

2003-06-24 Thread tsg
You can try NetxAPI, I have slightly changed it to work via IO:Socket:SSL and 
corrrcted some bugs. It's here: www.bugalux.com/mailman/ for me it works well 
and does all job to control Cyrus IMAP.
Sergios


Re: IMAP.so Perl problem

2003-06-24 Thread Hank Beatty
On Thu, 2003-06-19 at 18:00, Jim Norton wrote:
> Hello all:
> 
> I have Cyrus 2.2.0 installed from sources.  I appear to have
> a problem with some Perl scripts that try to load the
> IMAP.so ( perl install tree ).
> 
> Though I built from sources and installed everything and even when
> into to the Perl directory and rebuilt and installed the perl stuff
> I still get this error when trying to run certain Perl scripts
> that work with Cyrus ( imap ):
> 
> ==
> Can't load 
> '/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/auto/Cyrus/IMAP/IMAP.so' for 
> module Cyrus::IMAP: 
> /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/auto/Cyrus/IMAP/IMAP.so: 
> undefined symbol: db_version at 
> /usr/lib/perl5/5.8.0/i586-linux-thread-multi/DynaLoader.pm line 229.
>  at /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/Cyrus/IMAP/Admin.pm line 
> 44
> Compilation failed in require at 
> /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/Cyrus/IMAP/Admin.pm line 44.
> BEGIN failed--compilation aborted at 
> /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/Cyrus/IMAP/Admin.pm line 44.
> Compilation failed in require at ./add-cyrus-user.pl line 33.
> BEGIN failed--compilation aborted at ./add-cyrus-user.pl line 33.
> ===
> 
> So now it looks like db_version is undefined and is the cause of the 
> problem.  How do I go about fixing this?
> 
> Thanks much.
> 
> -Jim
This is what I did on my system to fix the problem:

mkdir /usr/lib/perl5/5.8.0/Cyrus
mkdir /usr/lib/perl5/5.8.0/Cyrus/IMAP
ln 
/usr/local/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Cyrus/IMAP/IMAP.so 
/usr/lib/perl5/5.8.0/IMAP.so
ln /usr/local/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/IMAP.pm 
/usr/lib/perl5/5.8.0/Cyrus/IMAP.pm
ln /usr/local/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/IMAP/Admin.pm 
/usr/lib/perl5/5.8.0/Cyrus/IMAP/Admin.pm
ln /usr/local/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus/IMAP/Shell.pm 
/usr/lib/perl5/5.8.0/Cyrus/IMAP/Shell.pm

note that mine is i386 and yours is i586

hope this helps.

Regards,
-- 
Hank Beatty <[EMAIL PROTECTED]>



IMAP.so Perl problem

2003-06-19 Thread Jim Norton
Hello all:

I have Cyrus 2.2.0 installed from sources.  I appear to have
a problem with some Perl scripts that try to load the
IMAP.so ( perl install tree ).

Though I built from sources and installed everything and even when
into to the Perl directory and rebuilt and installed the perl stuff
I still get this error when trying to run certain Perl scripts
that work with Cyrus ( imap ):

==
Can't load 
'/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/auto/Cyrus/IMAP/IMAP.so' for 
module Cyrus::IMAP: 
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/auto/Cyrus/IMAP/IMAP.so: 
undefined symbol: db_version at 
/usr/lib/perl5/5.8.0/i586-linux-thread-multi/DynaLoader.pm line 229.
 at /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/Cyrus/IMAP/Admin.pm line 44
Compilation failed in require at 
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/Cyrus/IMAP/Admin.pm line 44.
BEGIN failed--compilation aborted at 
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/Cyrus/IMAP/Admin.pm line 44.
Compilation failed in require at ./add-cyrus-user.pl line 33.
BEGIN failed--compilation aborted at ./add-cyrus-user.pl line 33.
===

So now it looks like db_version is undefined and is the cause of the 
problem.  How do I go about fixing this?

Thanks much.

-Jim