[Dovecot] Define custom ldap libraries when building Dovecot

Oscar del Rio delrio at mie.utoronto.ca
Sat Jan 12 17:13:53 EET 2013


On 12/01/2013 4:50 AM, Nikolaos Milas wrote:
> On 11/1/2013 11:02 μμ, Nikolaos Milas wrote:
>> I would like to compile Dovecot using custom ldap libraries, located 
>> at a particular custom system location. 
> Sorry, I got it. According to http://wiki2.dovecot.org/CompilingSource 
> I should use:
> CPPFLAGS="-I/usr/local/openldap/include" 
> LDFLAGS="-L/usr/local/openldap/lib64 -lldap -llber" ./configure

Check the binaries with ldd to make sure they are loading the expected 
libraries at run-time.




More information about the dovecot mailing list