Please help.
I realize that this has been posted before, but I
am new to the whole editing makefiles and applying patches thing. So I am sort
of looking for a detailed answer on this problem. After compiling Cyrus Imap
2.0.9 and running cyradm on FreeBSD 4.1, I get the following error:
neptune# cyradmCan't load
'/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Cyrus/IMAP/IMAP.so' for
module Cyrus::IMAP:
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Cyrus/IMAP/IMAP.so:
Undefined symbol "sasl_client_init" at
/usr/local/lib/perl5/5.6.0/i386-freebsd/DynaLoader.pm line 200. at
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Cyrus/IMAP/Admin.pm line
43Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Cyrus/IMAP/Admin.pm line
43.BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Cyrus/IMAP/Admin.pm line
43.Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Cyrus/IMAP/Shell.pm line
58.BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Cyrus/IMAP/Shell.pm line
58.Compilation failed in require.BEGIN failed--compilation
aborted.neptune#
I know it has to do with not being able to find the
correct run path, but how do I fix that. Is there something that I can add to
the ./configure command that will fix this or only editing the makefile. I am
not running ssl (or at least not right now ). My source code is for cyrus is
in:
Imap: /usr/local/src/cyrus-imapd-2.0.9
sasl: /usr/local/src/cyrus-sasl-1.5.24
When I compiled the source, I ran the following
commands:
./configure --with-auth=unix
--with-dbdir=/usr/local/BerkeleyDB.3.1 --without-krb
make depend
make all
make install
I saw that someone wrote a patch, but I was not
sure how to apply it nor was I running imap with ssl. Any help will be greatly
appreciated. Thanks in advance.