Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am attempting to compile courier-imap on Ubuntu Natty in order to change compiled-in options. Even though Courier is installed in the system, including the courier-authlib package (using apt-get), ./configure stops with the following warnings:

configure: WARNING: === Courier authentication library not found.
configure: WARNING: === You need to download and install
configure: WARNING: === first.
configure: WARNING: === If courier-authlib is installed in a non-default
configure: WARNING: === directory, set the COURIERAUTHCONFIG environment
configure: WARNING: === variable to the full path to the courierauthconfig
configure: WARNING: === binary and rerun this configure script.

I find /usr/bin/courier-config and /usr/bin/couriertls binaries and courier libraries in /usr/lib/courier-authlib/, but I cannot find a binary named courierauthconfig. Is it necessary to compile and install the courier authentication library even though it has already been installed by apt-get?

share|improve this question
See. You can avoid this all by installing Dovecot. – mailq Oct 6 '11 at 18:42
This turned out to be the best solution for me. I abandoned Courier and set up Dovecot instead. Since I abandoned the problem that prompted my original question, I can neither vote the one proposed answer up nor down. – Randy McLaughlin Oct 21 '11 at 15:40
You can still post your comment as answer and accept that. – mailq Oct 21 '11 at 15:56

You need to install the appropriate source (dev) packages, too. Otherwise you can't compile against them and have only the binary part installed.

But I can only discourage you from installing software from sources. You then need to maintain them and integrate security fixes into your software regularly. Meaning you have to always follow official security reports (e.g. CVEs). Your distribution's package maintainer already does it for your packages.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.