I found this on the net which fixed the Can't locate IMAP/Cyrus/Shell.pm problem.
You can try it. go to $CYRUS_SOURCE_DIR/perl/imap perl Makefile.PL make make install -- gd On Wed, 17 Oct 2001, Fatemeh Taj wrote: > Hi, > I'm trying to install Cyrus 2.0.16. Before; I've installed 2.0.7 and used cyradm >perl script with no problem. Now I get following error when running cyradm : > > >> cyradm --user admin --auth login hostname > perl: error in loading shared libraries: >/usr/lib/perl5/site_perl/5.005/i386-linux/auto/Cyrus/IMAP/IMAP.so: undefined symbol: >imclient_connect > > also with following line which is recommended to test the imclient some errors >occoured. Unfortunately I'm not familier with perl :( > > # perl -Iblib/arch -Iblib/lib -MIMAP::Cyrus::Shell -e --user admin hostname > Can't locate IMAP/Cyrus/Shell.pm in @INC (@INC contains: blib/arch blib/lib >/usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 >/usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .). > BEGIN failed--compilation aborted. > > Shell.pm is in this path : >/usr/lib/perl5/site_perl/5.005/i386-linux/Cyrus/IMAP/Shell.pm > Maybe linking it to above mentioned path (in error message) is not correct, but >anyway , it did not help. > > How I can fix the problem ? > > Thanks > F. Taj > > >