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

RE: Problem with ldapsearch

Thanks for your reply Howard.

As you suggested, I looked at my config.log file, but
I'm still not too sure how to solve my problem
though...Do you have any suggestions ? 

Anyway, I've tried to configure the server without the
sasl and tsl/ssl...like this:
$ ./configure --enable-debug, --without-cyrus-sasl
--without-kerberos --without-tls --enable-crypt
--enable-passwd --enable-wrappers --enable-ldbm

but I still encountered the same problem with

Do you have any suggestion on how to configure
properly? In most books and website, it is written
that ./configure (without having to specify each
option) will work just fine since it will
automatically detect the appropriate settings.
However, in my case, it will complain about mismatch
version of SASL

This is the extraction of my
daemon_init: 1 listener opened
slapd_init: initiated server
slap_sasl_init: SASL version mismatch, got 201000a,
wanted 2010011

That's why I chose to specify the options and set the
environment explicitly... 

As a newbie, I really appreciate your help,

--- Howard Chu <hyc@highlandsun.com> wrote:
> > -----Original Message-----
> > From: owner-openldap-software@OpenLDAP.org
> > [mailto:owner-openldap-software@OpenLDAP.org]On
> Behalf Of Lara Adianto
> > *** How I installed the server ***
> > 1. Configuration
> > $ LDFLAGS="-L/usr/local/lib
> -L/usr/local/lib/sasl2"
> > CPPFLAGS="-I/usr/local/openssl/include/openssl
> > -I/usr/local/include" LIBS="-lssl -lcrypt -lsasl2"
> > ./configure --enable-debug --disable-ipv6
> > --with-cyrus-sasl --without-kerberos --with-tls
> > --enable-crypt --enable-passwd --enable-ldbm
> > --enable-wrappers --enable-x-compile
> > --with-yielding_select=manual
> >
> > Here, I'm not sure that it's correct to enable
> cross
> > compiling. The reason I did so was because when i
> ran
> > configure without it, it would fail and prompt me
> the
> > following messages:
> > $configure: warning: programs compiled here do not
> run
> > here
> > configure: error: if cross compiling, add
> > --enable-x-compile
> Since you are not cross-compiling, this indicates a
> problem with your build
> environment. Rather than kludge your away around it
> like this, you should
> instead have looked at the config.log file to see
> what it was complaining
> about, and fix your build environment.
> Until you get a clean run of configure, there is no
> reason to expect your
> software to function correctly.
>   -- Howard Chu
>   Chief Architect, Symas Corp.       Director,
> Highland Sun
>   http://www.symas.com              
> http://highlandsun.com/hyc
>   Symas: Premier OpenSource Development and Support

Believe in miracles, but don't depend upon them 

Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.