Cyrus-imapd-2.2.4 "cannot continue without libsasl2."

Andreas Winkelmann ml at
Sat May 22 04:26:49 EDT 2004

Am Samstag, 22. Mai 2004 04:13 schrieb Mark Nernberg:

> I am attempting to compile Cyrus-imap-2.2.4 on FreeBSD 5.2.1/RELEASE, and I
> am having problems.
> cyrus-sasl-2.1.18 is correctly installed from source.

How did you install sasl? With which ./configure-options.

> However, when running configure, regardless of options, I continue to get
> the error "Cannot continue without libsasl2".
> I have tried some of the ideas from the archives, including copying the
> sasl libraries and include files to a mess of different places
> (/usr/include, /usr/local, etcetera).  I've used --with-sasl= with a number
> of different directories, all to no avail.
> It really seems that it cannot find sasl.h.  The last few lines of output
> from configure are:
> checking for gsskrb5_register_acceptor_identity... no
> checking sasl/sasl.h usability... no
> checking sasl/sasl.h presence... no
> checking for sasl/sasl.h... no
> configure: error: Cannot continue without libsasl2.
> Get it from
> But, of course, I do have it.

Where is it?

> My ./configure line is:
> ./configure --with-sasl=/usr/local/lib --with-perl --with-auth=unix
> --with-dbdir=/usr/local/bdb --with-bdb-incdir=/usr/local/bdb/include
> --with-bdb-libdir=/usr/local/bdb/lib --with-openssl=/usr/local/ssl
> --without-ucdsnmp

Try "--with-sasl=/usr/local"

In ../lib it will not find sasl.h.


Cyrus Home Page:
Cyrus Wiki/FAQ:
List Archives/Info:

More information about the Info-cyrus mailing list