Hi,

>>>>> On Mon, 28 Nov 2005 11:13:18 -0500
>>>>> Matt Singerman <[EMAIL PROTECTED]> said:

matt> I recently upgraded our mailserver from FreeBSD 5.2.1 to 6.0.  Most
matt> items work perfectly fine after the upgrade (and thankfully, that
matt> includes Cyrus itself), but cyradm no longer works:

matt> # cyradm --user=cyrus localhost
matt> Can't locate Cyrus/IMAP/Shell.pm in @INC (@INC contains:
matt> /usr/local/lib/perl5/site_perl/5.8.5/mach
matt> /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl
matt> /usr/local/lib/perl5/5.8.5/BSDPAN /usr/local/lib/perl5/5.8.5/mach
matt> /usr/local/lib/perl5/5.8.5 .).
matt> BEGIN failed--compilation aborted.

matt> Now, as part of the upgrade, I installed perl 5.8 (previously, Perl
matt> 5.6 had been installed), and I am assuming that this is the root of
matt> the problem.  Is there a simple solution to fix this, such as
matt> correcting the libraries?  I already tried copying over Shell.pm to
matt> one of the searched directories, but that didn't work.  Alternately,
matt> can I reinstall cyradm, and if so, what is the best way to go about
matt> this?

The perl modules are installed into the directory which has perl
version in its name.  When you upgrade your perl, you need to
re-install the ports which install perl modules, too.

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
[EMAIL PROTECTED]  [EMAIL PROTECTED],jp.}FreeBSD.org
http://www.imasy.org/~ume/
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to