Look again at the information:  cyradm is looking in under /usr/lib, you are
reporting the file as being in /usr/local/lib.  This is a problem with RedHat
installations because RedHat has perl in a different location than expected.
You *should* be able to install with an option to set the correct prefix
(check the docs -- I found it there somewhere).  However, that didn't work
for me.  I ended up just moving the necessary directories into the /usr/lib
area from the /usr/local/lib area (carefully preserving the necessary paths).

By the way -- it took me FOREVER to figure this out!

                    - Kevin -

Olaf Zaplinski wrote:

> Hi all,
>
> I get an error whenever I start cyradm:
>
> Can't locate Cyrus/IMAP/Shell.pm in @INC (@INC contains:
> /usr/lib/perl5/5.6.0/i586-linux /usr/lib/perl5/5.6.0
> /usr/lib/perl5/site_perl/5.6.0/i586-linux /usr/lib/perl5/site_perl/5.6.0
> /usr/lib/perl5/site_perl .).
> BEGIN failed--compilation aborted.
>
> But the file is there:
>
> /usr/local/lib/site_perl/5.6.0/i586-linux/Cyrus/IMAP/Shell.pm
>
> ./configure; make; make install had no errors. Has anyone had this error,
> and how can I fix that?
>
> Olaf

Reply via email to