cyrus with openldap...
Asaf Shakarchi
asaf at raytech.co.il
Sun Jan 8 18:17:52 EST 2006
Hey,
Igor thanks for answering,
I tried that already, didn’t help.
I just found out a very strange thing,
I changed the following command (which didn’t work):
CPPFLAGS="-I/usr/local/krb5/include -I/usr/local/openldap-2.3.11/include"
LDFLAGS="-L/usr/local/krb5/lib -L/usr/local/openldap-2.3.11/lib" ./configure
--prefix=/usr/local/cyrus-sasl-2.1.21 --with-ldap
To:
LDFLAGS="-L/usr/local/openldap/lib -L/usr/local/krb5/lib"
CPPFLAGS="-I/usr/local/openldap/include -I/usr/local/krb5/include"
./configure --with-ldap --prefix=/usr/local/cyrus-sasl-2.1.21
The only change is the order of the libraries (openldap before kerbero's)
but I don’t really see how this affected things,
Very weird, never had such a problem,
Another issue was that cyrus-sasl didn’t link correctly against
openldap-2.3.11, likning against 2.1.25 worked fine.
Thanks.
-----Original Message-----
From: Igor Brezac [mailto:igor at ipass.net]
Sent: Monday, January 09, 2006 1:11 AM
To: Asaf Shakarchi
Subject: Re: cyrus with openldap...
On Sun, 8 Jan 2006, Asaf Shakarchi wrote:
> I’m dying here, Im trying for few hours to compile cyrus-sasl (2.1.21)
with
> openldap 2.3.11 but probably I’m missing something.
>
>
>
>
>
> This is the configuration command I execute:
>
>
>
> ./configure CPPFLAGS="-I/usr/local/krb5/include
> -I/usr/local/openldap-2.3.11/include" LDFLAGS="-L/usr/local/krb5/lib
> -L/usr/local/openldap-2.3.11/lib" --prefix=/usr/local/cyrus-sasl-2.1.21
> --with-ldap
>
>
>
> While openldap resides in /usr/local/openldap-2.3.11/<lib,include>
Try
CPPFLAGS=-I/usr/local/krb5/include \
LDFLAGS=-L/usr/local/krb5/lib \
./configure --with-ldap=/usr/local/openldap-2.3.11
If this does not work, look in config.log and report what is says.
--
Igor
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.15/223 - Release Date: 1/6/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.15/223 - Release Date: 1/6/2006
More information about the Cyrus-sasl
mailing list