[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Compiling OpenLDAP with non standard paths for Berkley DB

Try to set the environment variables CPPFLAGS and LDFLAGS as the  following:

env CPPFLAGS="-I/opt/db4/include -I/opt/cyrus-sasl/include" LDFLAGS="-L/opt/db4/lib -L/opt/cyrus-sasl/lib" .configure <options> (all is in one line).

Hope this helps.

Cindy Wang
Software Product Engineer

marc.bigler@day.com wrote:


I have a server where I've got compiled Berkeley DB 4 in /opt/db4 and Cyrus
SASL in /opt/cyrus-sasl. Now I would like to know how I can tell OpenLDAP
where it has to search for Berkley DB and Cyrus SASL. Currently when I run
configure it doesn't find Berkely DB because it's not in the standard paths
like /usr or /usr/local.

Many thanks