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

error compiling openldap on configure



Hi all, I'd like to build openldap on aix 5.2 with this compile options:
./configure --prefix=/opt/openldap-2.3.26-bdb --enable-slapd
--enable-backends=no --enable-bdb=yes


compiling fails because it seems can not find the library of bdb. But library is there:

[root@bernini /tmp/openldap-2.3.26]# ls -l /opt/bdb-4.3.29/include/
total 248
-r--r--r--   1 root     system        88907 Sep 19 10:54 db.h
-r--r--r--   1 root     system        33577 Sep 19 10:54 db_cxx.h

[root@bernini /tmp/openldap-2.3.26]# ls -l /opt/bdb-4.3.29/lib/
total 9016
-rw-r--r--   1 root     system      1601552 Sep 19 11:15 libdb-4.3.a
-rw-r--r--   1 root     system          800 Sep 19 10:47 libdb-4.3.la
-rwxr-xr-x   1 root     system      1397729 Sep 19 10:47 libdb-4.3.so
lrwxrwxrwx   1 root     system           12 Sep 19 11:15 libdb-4.so ->
libdb-4.3.so
-rw-r--r--   1 root     system      1601552 Sep 19 11:15 libdb.a
lrwxrwxrwx   1 root     system           12 Sep 19 11:15 libdb.so ->
libdb-4.3.so


I attach part of config.log configure:27872: result: 0 configure:31325: checking db.h usability configure:31337: /opt/freeware/bin/gcc -c -g -O2 -I/opt/bdb-4.3.29/include/ conftest.c >&5 configure:31343: $? = 0 configure:31347: test -z || test ! -s conftest.err configure:31350: $? = 0 configure:31353: test -s conftest.o configure:31356: $? = 0 configure:31366: result: yes configure:31370: checking db.h presence configure:31380: /opt/freeware/bin/gcc -E -I/opt/bdb-4.3.29/include/ conftest.c configure:31386: $? = 0 configure:31406: result: yes configure:31441: checking for db.h configure:31448: result: yes configure:31464: checking for Berkeley DB major version configure:31583: result: 4 configure:31586: checking for Berkeley DB minor version configure:31829: result: 3 configure:32272: checking for Berkeley DB link (-ldb43) configure:32338: /opt/freeware/bin/gcc -o conftest -g -O2 -I/opt/bdb-4.3.29/include/ -L/opt/bdb-4.3.29/lib conftest.c -ldb43 -pthread >&5 collect2: library libdb43 not found configure:32344: $? = 1 configure: failed program was:


Do you have sugestions? Thanks


Marco