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

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


I forgot to mention something in the steps to reproduce. Right after
cloning, I built Cyrus like so:

    autoreconf -s -i
    ./configure CFLAGS="-Wno-unused-parameter -g -O0 -Wall -Wextra
    -Werror" --enable-coverage --enable-http --enable-unit-tests
    --enable-replication --with-openssl=yes --enable-nntp
    --enable-murder --enable-idled --prefix=`pwd` --enable-sieve && make
    && make install
    make lex-fix
    make
    make install

Note that the "prefix" is set to the directory of the "master" branch.

Thanks again for any help you can provide,

Best regards,

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

On Sun, May 17, 2015, at 05:00 PM, Conrad Kleinespel wrote:
> 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