Subject: Re: Question about mail/cyrus-imap
To: Sean J. Schluntz <schluntz@workofstone.com>
From: Johnny C. Lam <jlam@netbsd.org>
List: tech-pkg
Date: 04/04/2002 02:31:43
On Wed, Apr 03, 2002 at 09:01:00PM -0800, Sean J. Schluntz wrote:
> 
> I've been working with the mail/cyrus-imap package and have run in to 
> problems with the cyradm tool.
> 
> The package was built succesfully, I was able to configure it and get
> the master process and sasl running w/o any problems.  But any attempt
> to use the cyradm tool results in the errors below.  Any ideas? This
> is on NetBSD 1.5.2/sparc.

This looks like the same problem as reported in pkg/16089, but this is on
NetBSD/sparc, and not sparc64, correct?

> mail1# cyradm
> Can't load '/usr/pkg/lib/perl5/site_perl/5.6.1/sparc-netbsd/auto/Cyrus/IMAP/IMAP.so' for module Cyrus::IMAP: /usr/pkg/lib/perl5/site_perl/5.6.1/sparc-netbsd/auto/Cyrus/IMAP/IMAP.so: Undefined symbol "" (reloc type = 12, symnum = 6) at /usr/pkg/lib/perl5/5.6.1/sparc-netbsd/DynaLoader.pm line 206.
>  at /usr/pkg/lib/perl5/site_perl/5.6.1/sparc-netbsd/Cyrus/IMAP/Admin.pm line 43
> Compilation failed in require at /usr/pkg/lib/perl5/site_perl/5.6.1/sparc-netbsd/Cyrus/IMAP/Admin.pm line 43.
> BEGIN failed--compilation aborted at /usr/pkg/lib/perl5/site_perl/5.6.1/sparc-netbsd/Cyrus/IMAP/Admin.pm line 43.
> Compilation failed in require at /usr/pkg/lib/perl5/site_perl/5.6.1/sparc-netbsd/Cyrus/IMAP/Shell.pm line 58.
> BEGIN failed--compilation aborted at /usr/pkg/lib/perl5/site_perl/5.6.1/sparc-netbsd/Cyrus/IMAP/Shell.pm line 58.
> Compilation failed in require.
> BEGIN failed--compilation aborted.

This is possibly a problem with perl and not with cyrus.  Are you able to
dynamically load other perl modules?  Also, is it possible for you to provide
a log of a "make build" in mail/cyrus-imapd?  I'd like to check how certain
bits of Cyrus are compiled and built on your sparc.

	Thanks,

	-- Johnny Lam <jlam@netbsd.org>