[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: Openldap, Berkeley, Kerberos and Sasl question.

doesnt cyrus-sasl2, after make install completes, mention you should create a symlink to your plugin dir?  ie ln -s <install path> /usr/lib/sasl2?  i thought it mentions that libsasl2 will default to look in /usr/lib/sasl2 for plugins...  or you could set SASL_PATH env var to the plugins dir.

-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Quanah
Sent: Monday, August 09, 2004 5:55 PM
To: openldap-software@OpenLDAP.org
Subject: Re: Openldap, Berkeley, Kerberos and Sasl question.

--On Monday, August 09, 2004 3:39 PM -0500 Robert <Robertedstrom@yahoo.com> 

> "Quanah Gibson-Mount" <quanah@stanford.edu> wrote in message
> AB6C721FBC4F2709D040CFE6@cadabra.stanford.edu">news:AB6C721FBC4F2709D040CFE6@cadabra.stanford.edu...
>> > env LD_RUN_PATH="/usr/local/BerkeleyDB.4.2/lib;/usr/lib2/sasl2" \
>> > LD_LIBRARY_PATH="/usr/local/BerkeleyDB.4.2/lib;/usr/lib2/sasl2" \
>> These need to be seperated by ":" not ";"
> I tried using : instead of ; but still no dice.  Still get
> ./.libs/libldap.a(cyrus.o): In function `ldap_int_sasl_bind':
> /tmp/openldap-2.2.15/libraries/libldap/cyrus.c:800: undefined reference to
> `sasl_errdetail'
> /tmp/openldap-2.2.15/libraries/libldap/cyrus.c:789: undefined reference to
> `sasl_errdetail'
> /tmp/openldap-2.2.15/libraries/libldap/cyrus.c:701: undefined reference to
> `sasl_errdetail'
> collect2: ld returned 1 exit status.
> Should cyrus-sasl be compiled with certain flags?

Yes, you need to enable GSSAPI and specify your plugin directory.

Your LD_LIBRARY_PATH should point to the 'sasl2' directory and probably the 
'plugin' directory as well.




Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html 
NOTICE: This E-mail may contain confidential information. If you are not 
the addressee or the intended recipient please do not read this E-mail 
and please immediately delete this e-mail message and any attachments 
from your workstation or network mail system. If you are the addressee 
or the intended recipient and you save or print a copy of this E-mail, 
please place it in an appropriate file, depending on whether 
confidential information is contained in the message.