[Date Prev][Date Next]
Re: configure: error: Berkeley DB version mismatch
For the pthread thing, you can have a look at
check the line with LOAD_LIBS=' ...' to see if there's the "-l pthread" thing.
I think this indicates that it is compiled or not with pthreads.
Your open LDAP configure seems to take the pthread because I can see :
configure:19292: cc -o conftest -g -O2 -I/usr/local/ssl/include
-L/usr/local/BerkeleyDB.4.2/lib conftest.c -ldb-4.2 -pthreads -lresolv
-lgen -lnsl -lsocket 1>&5
in the config.log...
(still dunno if this helps but, well, at lease I gave it a try :))
> For Solaris8/9 systems, you may also want to set LD_LIBRARY_PATH and put
> the env. Vars. In the configure command line. You may also need a latest
> gcc compiler and/or libgcc libraries.
> env CC=gcc CPPFLAGS="-I/usr/local/ssl/include
> -I/usr/local/BerkeleyDB.4.2/include" LDFLAGS="-L/usr/local/ssl/lib
> LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.2/lib ./configure --enable-bdb
> --enable-ldbm --enable-ldap --without-threads --with-ldbm-api=berkeley
> --with-ldbm-module=static --with-ldbm-type=hash --enable-crypt
> My home page has HOW-Tos for beginner to follow.
> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Stefan
> Sent: Tuesday, September 14, 2004 10:44 PM
> To: firstname.lastname@example.org
> Cc: OpenLDAP-software@OpenLDAP.org
> Subject: Re: configure: error: Berkeley DB version mismatch
> Well, from what I've experienced you should read carefully the
> file. I recently installed openLDAP on my Linux with so many problems
> that I
> may help you if you show the log...
> > Hi all,
> > when doing a configure for openldap i get the error:
> > checking for Berkeley DB version match... no
> > configure: error: Berkeley DB version mismatch
> > I've googled around and but I can't seem to find a solution.
> > BerkeleyDB4.2 is installed (with the two supplied patches)
> > I'm using openldap 2.2.15 on solaris 8.
> > environment variables are set:
> > # echo $LDFLAGS
> > -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib
> > # echo $CPPFLAGS
> > -I/usr/local/ssl/include -I/usr/local/BerkeleyDB.4.2/include
> > #
> > Can anybody help?
> > Cameron