While I was trying to install and compile OpenLDAP with Berkeley on Ubuntu 9.10 Karmic Koala, I kept getting the following error message during Make:
/bin/sh: soelim: not found
make[3]: *** [all-common] Error 127
make[3]: Leaving directory `/root/openldap-2.4.21/doc/man/man1′
make[2]: *** [all-common] Error 1
make[2]: Leaving directory `/root/openldap-2.4.21/doc/man’
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/root/openldap-2.4.21/doc’
make: *** [all-common] Error 1
This error is caused by missing or corrupt soelim which interprets .so requests in groff input and is necessary for OpenLDAP to compile.
Installing the groff package will solve this problem. Do:
sudo apt-get install groff groff-base