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

Problems using --with-ldbm-api=gdbm on Linux (deb2.0)



Hi all,

OpenLDAP 1.0 (stable) compiles perfectly and uses the gdbm database, 
however 1.1 (release), apart from defaulting to Berkley, if I try to
force it to configure with gdbm fails.

below is the config.status

gdbm_open();
#endif

; return 0; }
configure:5516: checking for gdbm_open in -lgdbm
configure:5535: gcc -o conftest -g -O2   conftest.c -lgdbm  -lresolv 
1>&5
/tmp/ccc05000: In function `main':
/mnt/e/install/openldap-release/ldap/configure:5531: undefined reference
to `gdbm_open'
configure: failed program was:
#line 5524 "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 gdbm_open();

int main() {
gdbm_open()
; return 0; }
configure:5570: checking for gdbm.h
configure:5580: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:5607: checking for db






------------------// Alan's Signature //--------------------
If the answers not at http://www.hk.super.net/~alan_k , then 
let me now, CAUSE IT'S SUPPOSED TO BE!
-----------// Alan's Linux Infomation Center //-------------