[Dovecot] Building Dovecot to link against alternative libldap

Ben Beuchler insyte at gmail.com
Thu Apr 12 02:58:35 EEST 2007

I'm running Dovecot on an Ubuntu (Edgy) box.  I'd like to link dovecot
against the latest stable version of the OpenLDAP libraries instead of
the system defaults.  I can't really replace the existing libraries as
other packages rely on them.

If this didn't use libtool, I would be able to influence the runtime
linker by manipulating -rpath and -L.  I can't seem to figure out how
to get this to work with Dovecot's libtool-based build.

The system libldap_r.so.2 lives in /usr/lib
My libldap_r.so.2.3 lives in /usr/local/lib

Anyone have any pointers?


More information about the dovecot mailing list