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

problems building openldap

I`m installing openldap 2.3.19 with kerberos, berkeley, cyrus-sasl and 
openssl. Configure works fine, just as building the dependencies, but the 
actual build yields the following error. 

collect2: ld returned 1 exit status
make[2]: *** [apitest] Error 1

The config.log provides the following output:

collect2: ld returned 1 exit status
configure: failed program was:
| /* confdefs.h.  */

I`m building openldap with the following dependencies:

LDFLAGS="-L/usr/local/lib -L/usr/local/BerkeleyDB.4.3/lib -R/usr/local/lib 
CPPFLAGS="-I/usr/local/BerkeleyDB.4.3/include" ./configure 
--with-cyrus-sasl --enable-slapd --enable-crypt --enable-spasswd 
--with-tls --enable-kpasswd --enable-referrals --with-readline 
--with-threads --enable-multimaster --enable-phonetic --enable-ldap 
--enable-ldbm --enable-passwd --enable-shell --enable-slurpd

I am a newby to openldap and can`t figure this one out. Does anyone have a 
solution to this problem or maybe can show where the problem lies.