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

Mark Nernberg m at
Fri May 21 22:13:05 EDT 2004

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.

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.

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

After plugging at this for the last several hours, I'm giving in and asking
for help ... ?

Mark Nernberg

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

More information about the Info-cyrus mailing list