Re: [Dovecot] Define custom ldap libraries when building Dovecot

2013-01-14 Thread Timo Sirainen
On Sat, 2013-01-12 at 11:50 +0200, 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/CompilingSour

Re: [Dovecot] Define custom ldap libraries when building Dovecot

2013-01-12 Thread Nikolaos Milas
On 12/1/2013 5:13 μμ, Oscar del Rio wrote: Check the binaries with ldd to make sure they are loading the expected libraries at run-time. They do: # ldd /usr/sbin/dovecot linux-vdso.so.1 => (0x7fffa01fd000) libcap.so.1 => /lib64/libcap.so.1 (0x0039bd60) li

Re: [Dovecot] Define custom ldap libraries when building Dovecot

2013-01-12 Thread Oscar del Rio
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="

Re: [Dovecot] Define custom ldap libraries when building Dovecot

2013-01-12 Thread Nikolaos Milas
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="

Re: [Dovecot] Define custom ldap libraries when building Dovecot

2013-01-11 Thread Nikolaos Milas
On 11/1/2013 11:02 μμ, Nikolaos Milas wrote: I would like to compile Dovecot using custom OpenLDAP libraries, located at a particular custom system location. Clarification 1: I am trying to compile Dovecot 2.1.13. How should I alter the config process to specify that the include dir is ...

[Dovecot] Define custom ldap libraries when building Dovecot

2013-01-11 Thread Nikolaos Milas
Hello, I would like to compile Dovecot using custom ldap libraries, located at a particular custom system location. How should I alter the config process to specify that the include dir is "/usr/local/openldap/include" and the lib dir is "/usr/local/openldap/lib64" and not the standard ones