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

OpenLdap v2.0.8 and Berkeley DB 3.2.9?



Hi,

I would like to find out whether OpenLdap v2.0.8 is best to work with which
version of Berkeley DB, has it been tested with the last version of Berkeley
DB 3.2.9?

Here are the lines that I extracted from the config.log, could you please
tell me what is the problem?

##############################################
configure:11984: checking for Berkeley DB link (default)
configure:12023: cc -o conftest -g -O2   conftest.c  -lresolv -ldl  1>&5
/tmp/ccUAtIz0.o: In function `main':
/usr/local/openldap-2.0.8/configure:12015: undefined reference to
`db_appexit'
collect2: ld returned 1 exit status
configure: failed program was:
#line 11994 "configure"
#include "confdefs.h"

#ifdef HAVE_DB_185_H
# include <db_185.h>
#else
# include <db.h>
#endif

#ifndef DB_VERSION_MAJOR
# define DB_VERSION_MAJOR 1
#endif

#ifndef NULL
#define NULL ((void*)0)
#endif

int main() {

#if DB_VERSION_MAJOR > 2
 db_env_create( NULL, 0 );
#elif DB_VERSION_MAJOR > 1
 db_appexit( NULL );
#else
 (void) dbopen( NULL, 0, 0, 0, NULL);
#endif

; return 0; }
configure:12047: checking for Berkeley DB link (-ldb)
configure:12086: cc -o conftest -g -O2   conftest.c -ldb -lresolv -ldl  1>&5
configure:12301: checking for Berkeley DB thread support
configure:12365: cc -o conftest -g -O2   conftest.c -ldb 1>&5
configure:13152: checking for openlog
configure:13181: cc -o conftest -g -O2   conftest.c -lresolv -ldl  1>&5
configure:13311: checking for termcap.h
configure:13321: cc -E  conftest.c >/dev/null 2>conftest.out
configure:13311: checking for ncurses.h
configure:13321: cc -E  conftest.c >/dev/null 2>conftest.out
configure:13350: checking for tputs in -ltermcap
configure:13369: cc -o conftest -g -O2   conftest.c -ltermcap  -lresolv -ldl
1>&5
configure:13467: checking for sasl.h
configure:13477: cc -E  conftest.c >/dev/null 2>conftest.out
configure:13473: sasl.h: No such file or directory
configure: failed program was:
#line 13472 "configure"
#include "confdefs.h"
#include <sasl.h>
configure:13606: checking fetch(3) library
configure:13622: cc -o conftest -g -O2
  conftest.c -lfetch -lcom_err -lresolv -ldl  1>&5
configure:13616: fetch.h: No such file or directory
configure: failed program was:
#line 13612 "configure"
#include "confdefs.h"

#include <sys/param.h>
#include <stdio.h>
#include <fetch.h>
int main() {
struct url *u = fetchParseURL("file:///");
; return 0; }
configure:13660: checking for readline/readline.h
..........


Thank you in advance!


Lingjia