Angela Marquardt
2008-06-09 14:42:41 UTC
Hi,
I am configuring cyrus-sasl 2.1.22 with ldap auth mechanism for openldap 2.3.38 on Solaris 10.
Both the components openldap and cyrus sasl have to be installed into special directories (not /usr/lib, /etc, ...) using an technical unix account (no root rights/privileges).
The OpenLdap server is already built with Cyrus Sasl support, pldd on the slapd process shows that the libraries are loaded.
Cyrus Sasl still refuses to be built with ldap support.
SASL_PATH and LD_LIBRARY_PATH is already set in the environment of the cyrus-sasl account:
$ echo $SASL_PATH
/usd/as94527a/soft/cyrus-sasl/lib/sasl2
$ echo $LD_LIBRARY_PATH
:/usd/as94527a/soft/openldap/lib:/usd/as94527a/soft/cyrus-sasl/lib
The configure file looks like that:
export CFLAGS=-lsocket
export CPFLAGS="-I/usd/as94527a/soft/openldap/lib"
export LDFLAGS="-lsocket -lldap -L/usd/as94527a/soft/openldap/lib"
./configure --prefix=/usd/as94527a/soft/cyrus-sasl-2.1.22 \
--sysconfdir=/usd/as94527a/soft/cyrus-sasl-2.1.22/etc \
--with-ldap=/usd/as94527a/soft/openldap \
--enable-ldap \
--with-openssl=/usd/as94527a/soft/openssl \
--with-dbpath=/usd/as94527a/soft/cyrus-sasl-2.1.22/var/lib/sasl/sasldb2 \
--with-saslauthd=/usd/as94527a/soft/cyrus-sasl-2.1.22/var/run/saslauthd &&
The config.log always shows:
configure:12106: checking LDAPDB
configure:12446: result: disabled
.....
LIB_LDAP=''
.....
ac_cv_lib_ldap_ldap_initialize=no
Can someone confirm that configuring cyrus-sasl as non-root user using non-standard-directories will work and point me to the missing part?
Thanks ahead, Angela
I am configuring cyrus-sasl 2.1.22 with ldap auth mechanism for openldap 2.3.38 on Solaris 10.
Both the components openldap and cyrus sasl have to be installed into special directories (not /usr/lib, /etc, ...) using an technical unix account (no root rights/privileges).
The OpenLdap server is already built with Cyrus Sasl support, pldd on the slapd process shows that the libraries are loaded.
Cyrus Sasl still refuses to be built with ldap support.
SASL_PATH and LD_LIBRARY_PATH is already set in the environment of the cyrus-sasl account:
$ echo $SASL_PATH
/usd/as94527a/soft/cyrus-sasl/lib/sasl2
$ echo $LD_LIBRARY_PATH
:/usd/as94527a/soft/openldap/lib:/usd/as94527a/soft/cyrus-sasl/lib
The configure file looks like that:
export CFLAGS=-lsocket
export CPFLAGS="-I/usd/as94527a/soft/openldap/lib"
export LDFLAGS="-lsocket -lldap -L/usd/as94527a/soft/openldap/lib"
./configure --prefix=/usd/as94527a/soft/cyrus-sasl-2.1.22 \
--sysconfdir=/usd/as94527a/soft/cyrus-sasl-2.1.22/etc \
--with-ldap=/usd/as94527a/soft/openldap \
--enable-ldap \
--with-openssl=/usd/as94527a/soft/openssl \
--with-dbpath=/usd/as94527a/soft/cyrus-sasl-2.1.22/var/lib/sasl/sasldb2 \
--with-saslauthd=/usd/as94527a/soft/cyrus-sasl-2.1.22/var/run/saslauthd &&
The config.log always shows:
configure:12106: checking LDAPDB
configure:12446: result: disabled
.....
LIB_LDAP=''
.....
ac_cv_lib_ldap_ldap_initialize=no
Can someone confirm that configuring cyrus-sasl as non-root user using non-standard-directories will work and point me to the missing part?
Thanks ahead, Angela
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger