"Can't locate loadable" Perl module when running cyradm

Conrad Kleinespel conradk at conradk.com
Sun May 17 11:00:35 EDT 2015


Hello everyone,

I'm setting up a Cyrus / Sendmail server. I wanted to create a mailbox,
so I tried doing this with the "cyradm" tool. Unfortunately, I'm
struggling with Perl errors, specifically:

    Can't locate loadable object for module Cyrus::IMAP in @INC (@INC
    contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2
    /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20
    /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20
    /usr/share/perl/5.20 /usr/local/lib/site_perl .)

Steps to reproduce on my machine are:

- clone the cyrus-imapd "master" branch
- change directory to "perl/imap/blib/lib/"
- run this command: perl -e"use Cyrus::IMAP;"

I'm thinking this may be a missing library on my machine. But I have not
yet found a way to know which one. The packages "Carp" and "IO::File"
are both available. Cyrus builds fine and is running. I'm on Ubuntu
Linux 15.04.

Would you know a way to get this to work ?

I appreciate you taking the time to read this and am grateful for any
help / tips / hints :-)

-- 
Conrad Kleinespel
conradk at conradk.com
+33 6 23 82 42 79


More information about the Cyrus-devel mailing list