[Date Prev][Date Next]
RE: Problem when compiler the OpenLDAP with SASL
LDLFAGS should be:
or where your libsasl2.* libs are
remember to use -R<path to lib> or set LD_LIBRARY_PATH or edit
ld.so.conf (all depends on what platform you are using)
else you will get errors about missing libraies on execution.
-R is solaris, -rpath on a few others...
From: Cindy Wang [mailto:firstname.lastname@example.org]
Sent: Wednesday, March 05, 2003 11:51 AM
To: Marcone Luis Theisen
Subject: Re: Problem when compiler the OpenLDAP with SASL
I remember that once you are done with SASL installabion, you have to
make the link from the installed sasl lib to /usr/lib such as " ln -s
/usr/local/lib/sasl2 /usr/lib/sasl2" . Since the plugins always look for
the sasl libs from /usr/lib. Refer to the document for cyrus-sasl
installation under doc/install.html. Hope this helps.
Software Product Engineer
Marcone Luis Theisen wrote:
> Ok, I export the directories, but.....
> checking for sasl.h... yes
> checking for sasl_client_init in -lsasl... no
> configure: error: Could not locate Cyrus SASL
> Now, this is my problem.
> Any ideas ?
> hatim wrote:
>> before doing the ./Configure , do an export , like that :
>> export CPPFLAGS="-I/usr/local/include/sasl/ -I/usr/local/include"
>> export LDFLAGS="-L/usr/local/include/sasl/ "
>> Le Mercredi 5 Mars 2003 14:12, vous avez écrit :
>>> I'm install cyrus-sasl, but when I compiler the openldap I received
>>> ./configure --with-cyrus-sasl
>>> checking for sasl.h... no
>>> configure: error: Could not locate Cyrus SASL
>>> My sasl.h is in the /usr/local/include/sasl/sasl.h directory.
>>> Any ideas ?
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.