[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Openldap 2.2.19 cannot find db-4.3.21
On Tue, Nov 30, 2004 at 01:03:48PM -0500, Igor Brezac wrote:
>
> BDB 4.3.21 is not self-contained. This is a bug with the sleepycat build
> process.
>
> In the meaning time, you can build openldap as follow:
>
> LIBS=-lrt ./configure ....
This works. :)
>
> Did you also build BDB 4.3.21 with -mcpu=v9?
>
Yes, I am compiling with CFLAGS="-O2 -mcpu=v9" all the
pre-requisites for my openldap server (Berkeley db, heimdal, sasl)
Thanks,
Diego
> -Igor
>
> On Tue, 30 Nov 2004, Diego Julian Remolina wrote:
>
> >Hi Igor and Buchan,
> >
> >Here is what I get in config.log:
> >
> >Since the test works fine with -ldb-4.2 then I assume that for the
> >new db 4.3.21 it should pass on the test -ldb-4.3
> >
> >configure:18351: checking for Berkeley DB link (-ldb-4.3)
> >configure:18408: /usr/local/bin/gcc -o conftest -O2 -mcpu=v9
> >-I/opt/local/include -I/opt/local/include/sasl2 -L/opt/local/lib
> >-L/usr/lib/sasl2
> >conftest.c -ld
> >b-4.3 -pthreads -lresolv -lgen -lnsl -lsocket 1>&5
> >/opt/local/lib/libdb-4.3.so: undefined reference to `fdatasync'
> >collect2: ld returned 1 exit status
> >configure: failed program was:
> >#line 18361 "configure"
> >#include "confdefs.h"
> >
> >Is this a db error or openldap while it tries to search for db
> >support?
> >
> >Diego
> >
> >On Tue, Nov 30, 2004 at 10:14:40AM -0500, Igor Brezac wrote:
> >>
> >>Have you checked config.log for errors?
> >>
> >>-Igor
> >>
> >>On Tue, 30 Nov 2004, Diego Julian Remolina wrote:
> >>
> >>>Hi,
> >>>
> >>>I am having problems trying to compile openldap 2.2.19 with Berkeley
> >>>db 4.3.21.
> >>>
> >>>If I use db-4.2.52 then I get the following during configure:
> >>>checking for db.h... yes
> >>>checking for Berkeley DB link (default)... no
> >>>checking for Berkeley DB link (-ldb43)... no
> >>>checking for Berkeley DB link (-ldb-43)... no
> >>>checking for Berkeley DB link (-ldb-4.3)... no
> >>>checking for Berkeley DB link (-ldb-4-3)... no
> >>>checking for Berkeley DB link (-ldb42)... no
> >>>checking for Berkeley DB link (-ldb-42)... no
> >>>checking for Berkeley DB link (-ldb-4.2)... yes
> >>>checking for Berkeley DB version match... yes
> >>>checking for Berkeley DB thread support... yes
> >>>checking Berkeley DB version for BDB backend... yes
> >>>
> >>>which works fine, however, when I remove db-4.2.52 and install db-4.3.21
> >>>then I get:
> >>>
> >>>checking for db.h... yes
> >>>checking for Berkeley DB link (default)... no
> >>>checking for Berkeley DB link (-ldb43)... no
> >>>checking for Berkeley DB link (-ldb-43)... no
> >>>checking for Berkeley DB link (-ldb-4.3)... no
> >>>checking for Berkeley DB link (-ldb-4-3)... no
> >>>checking for Berkeley DB link (-ldb42)... no
> >>>checking for Berkeley DB link (-ldb-42)... no
> >>>checking for Berkeley DB link (-ldb-4.2)... no
> >>>checking for Berkeley DB link (-ldb-4-2)... no
> >>>checking for Berkeley DB link (-ldb-4)... no
> >>>checking for Berkeley DB link (-ldb4)... no
> >>>checking for Berkeley DB link (-ldb)... no
> >>>checking for Berkeley DB link (-ldb41)... no
> >>>checking for Berkeley DB link (-ldb-41)... no
> >>>checking for Berkeley DB link (-ldb-4.1)... no
> >>>checking for Berkeley DB link (-ldb-4-1)... no
> >>>checking for Berkeley DB link (-ldb3)... no
> >>>checking for Berkeley DB link (-ldb-3)... no
> >>>checking for Berkeley DB link (-ldb2)... no
> >>>checking for Berkeley DB link (-ldb-2)... no
> >>>checking for Berkeley DB link (-ldb1)... no
> >>>checking for Berkeley DB link (-ldb-1)... no
> >>>
> >>>Any ideas, suggestions?
> >>>
> >>>I have LD_LIBRARY_PATH, LDFLAGS and CPPFLAGS pointing to the
> >>>appropriate places for shared objects and include files.
> >>>
> >>>This is being compiled on a Solaris 9 machine with gcc.
> >>>
> >>>Thanks,
> >>>
> >>>Diego
> >>>
> >>
> >>--
> >>Igor
> >
>
> --
> Igor