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

RE: Cyrus SASL2 fail to build with Berkeley DB 4.1



Is there some reason you can't ask this question on the Cyrus mailing lists?

Are you aware that Cyrus 2.1.2 is quite out of date, and 2.1.12 is the latest
version?

Have you examined the config.log to see why the SASL configure script didn't
use your libdb-4.so ?

Do you understand that GNU/Linux distributions are merely starting points?
There's nothing special or sacred about what they come bundled with. If you
need BDB 4 it makes no difference whether they bundle it or whether you
install it yourself. In general it's better to install it yourself because
the distros always lag behind what is currently available. (Obviously, I say
this from a developer's perspective. You need to be comfortable with the
whole compile/debug process...)

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Turbo Fredriksson

> Sorry for posting this here, I've yet to come to building OpenLDAP 2.1
> with BDB4.1. But before I can do this, I need to get Cyrus-SASL 2.1.2
> (Debian GNU/Linux source package name
> 'cyrus-sasl2-mit-2.1.2') to build
> with BDB4.1...
>
> The problem is that I'm running a woody system, which don't
> have bdb4.1
> (as standard - I've taken the package from unstable and recompiled it
> for my woody system). In woody the packages libdb2 (BDB
> v2.7.7.0-7) and
> libdb3 (BDB v3.2.9-16) is installed (no devel packages, hence
> no .h or .a
> files from those). I've installed the libdb4.1 and libdb4.1-dev (BDB
> v4.1.25-2) myself.
>
> It seems like the CyrusSASL2 configure script finds the
> libdb3 library:
> ----- s n i p -----
> checking for db3/db.h... no
> checking for db.h... yes
> checking for db_create in -ldb-4.0... no
> checking for db_create in -ldb4.0... no
> checking for db_create in -ldb-4... no
> checking for db_create in -ldb-3.3... no
> checking for db_create in -ldb3.3... no
> checking for db_create in -ldb-3.2... no
> checking for db_create in -ldb3.2... no
> checking for db_create in -ldb-3.1... no
> checking for db_create in -ldb3.1... no
> checking for db_create in -ldb-3... yes
> checking DB library to use... berkeley
> ----- s n i p -----
>
> These are the files installed (btw, the /usr/include/db.h found above
> is from libdb4.1-dev):
> ----- s n i p -----
> majorskan:/var/cache/apt/archives# ls -l /usr/lib/libdb*
> lrwxrwxrwx    1 root     root           15 Feb 22 19:32
> /usr/lib/libdb-3.so -> libdb3.so.3.0.2
> -rw-r--r--    1 root     root     10984994 Feb 22 15:15
> /usr/lib/libdb-4.1.a
> -rw-r--r--    1 root     root       711524 Feb 22 15:16
> /usr/lib/libdb-4.1.so
> lrwxrwxrwx    1 root     root           12 Feb 22 16:17
> /usr/lib/libdb-4.so -> libdb-4.1.so
> lrwxrwxrwx    1 root     root           11 Feb 22 16:17
> /usr/lib/libdb.a -> libdb-4.1.a
> lrwxrwxrwx    1 root     root           12 Feb 22 16:17
> /usr/lib/libdb.so -> libdb-4.1.so
> lrwxrwxrwx    1 root     root           16 Feb 22 11:47
> /usr/lib/libdb1.so -> /lib/libdb1.so.2
> lrwxrwxrwx    1 root     root           15 Feb 22 19:32
> /usr/lib/libdb3.so.3 -> libdb3.so.3.0.2
> -rw-r--r--    1 root     root       684092 Apr  7  2002
> /usr/lib/libdb3.so.3.0.2
> majorskan:/var/cache/apt/archives# ls -l /lib/libdb*
> lrwxrwxrwx    1 root     root           15 Feb 22 11:34
> /lib/libdb.so.2 -> libdb1-2.2.5.so
> -rw-r--r--    1 root     root       233488 Apr 18  2002
> /lib/libdb.so.3
> -rw-r--r--    1 root     root        49828 Sep 18 11:40
> /lib/libdb1-2.2.5.so
> lrwxrwxrwx    1 root     root           15 Feb 22 11:34
> /lib/libdb1.so.2 -> libdb1-2.2.5.so
> lrwxrwxrwx    1 root     root           15 Feb 22 19:32
> /lib/libdb2.so.2 -> libdb2.so.2.7.7
> -rw-r--r--    1 root     root       262812 Apr 18  2002
> /lib/libdb2.so.2.7.7
> ----- s n i p -----
>