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

Re: what is the trick to get opendal to compile with sasl?



Please stay on the list.

John Woodell wrote:


1) what version of cyrus-sasl did you install?


cyrus-sasl-1.5.28
./configure --enable-krb4=no


OpenLDAP 2.2.X needs no less than cyrus-sasl-2.1.X,
with X>16, I believe; it's written somewhere, and configure
is telling you...


2) whre did you install it?


I moved /usr/lib/sasl to /usr/lib/sasl_,
and made /usr/lib/sasl a symlink to /usr/local/lib/sasl

3) do you have any other cyrus-sasl version installed which might
  be detected instead of the one you want to be installed?


I tried to move it out of the way (above)

4) did you look at config.log to see what triggered the error?


no, but now I'm not having any luck when I leave our sasl...

# ./configure --prefix=/usr/test --with-cyrus-sasl=no

. . .

# make test
cd tests; make test
make[1]: Entering directory `/usr/local/src/openldap-2.2.13/tests'
make[2]: Entering directory `/usr/local/src/openldap-2.2.13/tests'
Initiating LDAP tests for BDB...
Cleaning up test run directory leftover from previous run.
Running ./scripts/all...
>>>>> Executing all LDAP tests for bdb
>>>>> Starting test000-rootdse ...
running defines.sh
Starting slapd on TCP/IP port 9011...
Using ldapsearch to retrieve the root DSE...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
./scripts/test000-rootdse: kill: (27864) - No such process
ldap_bind: Can't contact LDAP server (-1)
>>>>> Test failed
>>>>> ./scripts/test000-rootdse failed (exit 1)
make[2]: *** [bdb-yes] Error 1
make[2]: Leaving directory `/usr/local/src/openldap-2.2.13/tests'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/usr/local/src/openldap-2.2.13/tests'
make: *** [test] Error 2
[root@m4861 openldap-2.2.13]#

This is just telling you that some dynamic libraries cannot be loaded
because they're not in your LD_LIBRARY_PATH or have been
configured in /etc/ld.so.conf or so.  A "ldd servers/slapd/slapd" will
tell you what's missing.

p.



   SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497