check your config.log for openldap and look for sasl_client_init and see
what the error is
-----Original Message-----
From: Marcone Luis Theisen [mailto:marcone@univates.br]
Sent: Wednesday, March 05, 2003 1:12 PM
To: openldap-software@OpenLDAP.org
Subject: Re: Problem when compiler the OpenLDAP with SASL
Hi,
My configuration:
I'm use Linux 2.4.18, Slackware 8.1, OpenLDAP 2.0.27 and Sasl-2.1.12
#cat /etc/ld.so.conf
/usr/local/lib
/usr/X11R6/lib
/usr/i386-slackware-linux/lib
/usr/local/BerkeleyDB.4.1/lib
/opt/kde/lib
/usr/lib/qt/lib
/usr/local/mysql/lib/
#ldconfig
#ls /usr/local/lib
libldap.so libsasl2.so
libgd.so.2.0.0 libldap.so.2 libsasl2.so.2
liblber.a libldap.so.2.0.17 libsasl2.so.2.0.12
liblber.la libldap_r.a mysql
liblber.so libldap_r.la php
liblber.so.2 libldap_r.so php.ini
liblber.so.2.0.17 libldap_r.so.2 sasl2
libldap.a libldap_r.so.2.0.17
libldap.la libsasl2.la
# ldd /usr/local/sbin/sasldblistusers2
libresolv.so.2 => /lib/libresolv.so.2 (0x40024000)
libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x40035000)
libdl.so.2 => /lib/libdl.so.2 (0x40047000)
libc.so.6 => /lib/libc.so.6 (0x4004a000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
#set | grep FLAGS
CPPFLAGS='-I/usr/local/include/sasl/ -I/usr/local/include'
LDFLAGS='-L/usr/local/include/sasl/ -L/usr/local/lib'
# ls /usr/local/include/sasl/
hmac-md5.h md5.h md5global.h prop.h sasl.h saslplug.h saslutil.h
But, I have the same problem.....
#./configure --with-cyrus-sasl
......
....
checking for tputs in -ltermcap... yes
checking for sasl.h... yes
checking for sasl_client_init in -lsasl... no
configure: error: Could not locate Cyrus SASL
Any other ideas ?
Chapman, Kyle wrote:
LDLFAGS should be:
-L/usr/local/lib
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...
-----Original Message-----
From: Cindy Wang [mailto:cwang@kinetworks.com]
Sent: Wednesday, March 05, 2003 11:51 AM
To: Marcone Luis Theisen
Cc: openldap-software@OpenLDAP.org
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.
Cindy Wang
Software Product Engineer
KINETWORKS
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 :
Hi,
I'm install cyrus-sasl, but when I compiler the openldap I received
this
messages:
./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.
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.