"Can't locate loadable" Perl module when running cyradm
conradk at conradk.com
Mon May 18 05:22:01 EDT 2015
I have not yet found a way to run "cyradm" directly on my machine. So I
downloaded the Docker images (from
https://git.cyrus.foundation/diffusion/ID/) and now I can run "cyradm"
from within Docker. This seems to work as expected: I can connect to the
Docker host from within a container.
However, when I run something like "cyradm --user conradk 172.17.42.1"
(when the IP is the IMAP server's IP), "cyradm" requires a password.
>From what I understand after some Google searches, I need to use a tool
called "saslpasswd2" to set the password of my admin user. This tools is
apparently not in the Docker image.
So I went to download Cyrus SASL (from
https://git.cyrus.foundation/diffusion/S/). I followed the instructions
from "doc/install.html" but when running "./configure", I get an error I
./configure: line 5574: syntax error near unexpected token
./configure: line 5574: `SASL_DB_LIB=""'
I tried running "SASL_DB_LIB=`pwd`/sasldb ./configure" but that doesn't
If you know a way to make this work, I would be grateful for your help
conradk at conradk.com
+33 6 23 82 42 79
On Sun, May 17, 2015, at 05:11 PM, Conrad Kleinespel wrote:
> 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 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