[Dovecot] Need help to install dovecot on solaris 10 with openldap libs

Dovecot Jami dovejami at yahoo.com
Thu Jan 17 11:45:47 EET 2008


Hi,
   
  I install dovecot with ldap support at Solaris 10 (x86). I know that solaris LDAP is broken and so I install openldap. OpenLDAP shared libraries are at /usr/local/lib and /usr/local/include. While installing dovecot, I did the followings:
   
  I execute this before run "./configure --with-ldap"
   
  LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib -R/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib -R/usr/local/lib"
   
  but dovecot is using the Solaris default LDAP lib files.
   
  I also run 
   
  LDFLAGS="-R/usr/local/lib"
   and
   
  LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib /usr/local/lib/libldap-2.3.so.0 "
   
  But dovecot is still using solaris ldap libs.
   
  ldd /usr/local/libexec/dovecot/dovecot-auth
        libcrypt_i.so.1 =>       /usr/lib/libcrypt_i.so.1
        libpam.so.1 =>   /lib/libpam.so.1
        libldap.so.5 =>  /usr/lib/libldap.so.5
        libsocket.so.1 =>        /lib/libsocket.so.1
        libnsl.so.1 =>   /lib/libnsl.so.1
        librt.so.1 =>    /lib/librt.so.1
        libsendfile.so.1 =>      /lib/libsendfile.so.1
        libc.so.1 =>     /lib/libc.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        libcmd.so.1 =>   /lib/libcmd.so.1
        libsasl.so.1 =>  /usr/lib/libsasl.so.1
        libmd5.so.1 =>   /lib/libmd5.so.1
        libnspr4.so =>   /usr/lib/mps/libnspr4.so
        libplc4.so =>    /usr/lib/mps/libplc4.so
        libnss3.so =>    /usr/lib/mps/libnss3.so
        libssl3.so =>    /usr/lib/mps/libssl3.so
        libmp.so.2 =>    /lib/libmp.so.2
        libscf.so.1 =>   /lib/libscf.so.1
        libaio.so.1 =>   /lib/libaio.so.1
        libpthread.so.1 =>       /lib/libpthread.so.1
        libthread.so.1 =>        /lib/libthread.so.1
        libdl.so.1 =>    /lib/libdl.so.1
        libsoftokn3.so =>        /usr/lib/mps/libsoftokn3.so
        libplds4.so =>   /usr/lib/mps/libplds4.so
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libbsm.so.1 =>   /lib/libbsm.so.1
        libsecdb.so.1 =>         /lib/libsecdb.so.1
        libtsol.so.2 =>  /lib/libtsol.so.2
        libm.so.2 =>     /lib/libm.so.2

  Please help me to solve this problem.
   
  Mahmud Jami
   

       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.


More information about the dovecot mailing list