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

openldap and cyrus

i tried recompiling openldap with cyrus and im getting the usual cyrus cant be located message... any help would be appreciated...
i have included the different outputs.

./configure --prefix=/opt/openldap/2.1.25 --sysconfdir=/etc/depot/openldap --localstatedir=/var/depot/openldap --enable-cleartext --enable-crypt --enable-lmpasswd --enable-bdb --enable-ldap --enable-spasswd --with-tls --with-threads --enable-ldbm --with-cyrus-sasl --with-tls --enable-password


int main() {
; return 0; }
configure:20919: checking for sasl_client_init in -lsasl
configure:20938: gcc -o conftest -g -O2 -I/usr/depot/openssl/0.96h/include -I/opt/berkeley-db/current/include -I/opt/cyrus-sasl/current/include/sasl -L/usr/depot/openssl/0.96h/lib -L/opt/berkeley-db/current/lib -L/opt/cyrus-sasl/current/lib/sasl2 conftest.c -lsasl  -lresolv -lgen -lnsl -lsocket -ldl  1>&5
ld: fatal: library -lsasl: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 20927 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char sasl_client_init();

int main() {
; return 0; }

environment variables:

LDFLAGS=-L/usr/depot/openssl/0.96h/lib -L/opt/berkeley-db/current/lib -L/opt/cyrus-sasl/current/lib/sasl2
CPPFLAGS=-I/usr/depot/openssl/0.96h/include -I/opt/berkeley-db/current/include -I/opt/cyrus-sasl/current/include/sasl

i tried puting a LIBS="-lcrypto -lssl -lsasl2"  variable..but whenever i set that, then it fails even earlier with a 

checking whether the C compiler (gcc  -I/usr/depot/openssl/0.96h/include -I/opt/berkeley-db/current/include -I/opt/cyrus-sasl/current/include/sasl -L/usr/depot/openssl/0.96h/lib -L/opt/berkeley-db/current/lib -L/opt/cyrus-sasl/current/lib/sasl2) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.