[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: OT: Cyrus SASL2 fail to build with Berkeley DB 4.1
If I am not mistaken, you need at least SASL-2.1.8 to use BerkeleyDB
4.1. Please see:
http://asg.web.cmu.edu/archive/message.php?mailbox=archive.cyrus-sasl&searchterm=db4.1&msg=2710
at the Cyrus SASL site.
Mike.
>>> Turbo Fredriksson <turbo@bayour.com> 02/22/03 08:05pm >>>
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 -----