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

Compile problem with Head and cyrus SASL



This is how I'm trying to compile the head branch

./configure --enable-syslog --enable-ipv6 --enable-local
--enable-proctitle --enable-cyrus-sasl
--with-cyrus-sasl-libraries=/usr/local
--with-cyrus-sasl-includes=/usr/local --with-readline --with-threads
--with-tls --enable-slapd --enable-cleartext --enable-crypt
--enable-spasswd --enable-wrappers --enable-perl
--with-perl-module=static --enable-sql --with-sql-module=static
--enable-slurpd --quiet 

I get:
Copyright 1998-2000 The OpenLDAP Foundation, 
All Rights Reserved. Restrictions apply, see COPYRIGHT and LICENSE
files. 
Configuring OpenLDAP 2.X-Devel ... 
creating libtool 
not updating unwritable cache ./config.cache 
configure: error: Could not locate Cyrus SASL   

I configured the SASL libraries correctly (AFAIK). The same error occurs
whether I specify the   --with-cyrus-sasl-lib* and inc* options or not.
s/enable/with/ also gives the same error.

The config.log file reports:
<snip>
configure:13719: cc -o conftest -g -O2   conftest.c -lsasl  -lnsl -lresolv  1>&5/usr/local/lib/libsasl.so: undefined reference to `krb_get_in_tkt'
/usr/local/lib/libsasl.so: undefined reference to `krb_rd_req'
/usr/local/lib/libsasl.so: undefined reference to `krb_get_phost'
/usr/local/lib/libsasl.so: undefined reference to `krb_get_lrealm'
/usr/local/lib/libsasl.so: undefined reference to `krb_mk_req'
/usr/local/lib/libsasl.so: undefined reference to `krb_err_txt'
/usr/local/lib/libsasl.so: undefined reference to `dest_tkt'
/usr/local/lib/libsasl.so: undefined reference to `krb_set_tkt_string'
/usr/local/lib/libsasl.so: undefined reference to `tkt_string'
collect2: ld returned 1 exit status
configure: failed program was:
#line 13708 "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() {
sasl_client_init()
; return 0; }

Devdas Bhagat 
-- 
It's amazing how much better you feel once you've given up hope.