Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61119 - OpenLDAP is missing Berkely DB dependency
Summary: OpenLDAP is missing Berkely DB dependency
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 90481 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-21 01:49 UTC by Gian-Carlo Pascutto
Modified: 2005-10-11 07:31 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gian-Carlo Pascutto 2004-08-21 01:49:34 UTC
root@gentoo64 /home/giancarlo # emerge -vDU world
>>> --upgradeonly implies --update... adding --update to options.
Calculating world dependencies ...done!
>>> emerge (1 of 51) net-nds/openldap-2.1.30-r2 to /
>>> md5 src_uri ;-) openldap-2.1.30.tgz
>>> Unpacking source...
>>> Unpacking openldap-2.1.30.tgz to /var/tmp/portage/openldap-2.1.30-r2/work

[...]

checking for Berkeley DB link (default)... 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 (-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 (-ldb40)... no
checking for Berkeley DB link (-ldb-40)... no
checking for Berkeley DB link (-ldb-4.0)... no
checking for Berkeley DB link (-ldb-4-0)... 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 (-ldb3)... no
checking for Berkeley DB link (-ldb-3)... yes
checking for Berkeley DB thread support... BerkeleyDB: Invalid argument
no
checking Berkeley DB version for BDB backend... no
configure: error: BDB: BerkeleyDB version incompatible

!!! ERROR: net-nds/openldap-2.1.30-r2 failed.
!!! Function econf, Line 362, Exitcode 1
!!! econf failed


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-22 13:00:48 UTC
pleaes include your 'emerge info' output, as well as what versions of sys-libs/db and sys-libs/gdbm you have installed. (the packages are slotted, so be sure to list all of them).
Comment 2 David ac 2004-08-22 22:16:05 UTC
i'm having the same problem on my system.

some info:

15:01 /usr/portage/sys-libs/db  #  epm -qa | grep ^db
db-1.85-r1
db-3.2.9-r9
db-4.1.25_p1-r3
db-4.0.14-r3
15:02 /usr/portage/sys-libs/db  #  genlop db
 * sys-libs/db

     Wed Apr  9 11:50:05 2003 --> sys-libs/db-1.85-r1
     Wed Apr  9 12:07:02 2003 --> sys-libs/db-3.2.9-r1
     Wed Apr 23 03:12:48 2003 --> sys-libs/db-1.85-r1
     Wed Apr 23 03:14:24 2003 --> sys-libs/db-3.2.9-r1
     Wed May 21 20:51:53 2003 --> sys-libs/db-3.2.9-r2
     Thu Aug 21 21:55:19 2003 --> sys-libs/db-3.2.9-r7
     Wed Sep 10 14:52:48 2003 --> sys-libs/db-4.0.14-r2
     Sat Mar 13 21:43:41 2004 --> sys-libs/db-4.1.25_p1-r3
     Mon Mar 15 14:36:04 2004 --> sys-libs/db-4.0.14-r3
     Mon Jun 28 21:57:32 2004 --> sys-libs/db-3.2.9-r9

 merged totally 10 ebuilds.
15:02 /usr/portage/sys-libs/db  #  epm -qa | grep gdbm
gdbm-1.8.0-r5
15:02 /usr/portage/sys-libs/db  #  emerge info
Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.4.26)
=================================================================
System uname: 2.4.26 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gen2box.ath.cx/gentoo http://mirror.aarnet.edu.au/pub/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 arts avi berkdb bonobo cdr crypt cups dvd encode esd ethereal foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg kde ldap libg++ libwww mad mailwrapper mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl plotutils png pnp python qt quicktime readline samba sasl slang spell sse ssl svga tcltk tcpd tetex truetype usb video_cards_radeon x86 xml2 xmms xv zlib"

15:09 /usr/portage/sys-libs/db  #

Also, interesting discussion on this issue on the forums from last year - they had some suggestions on how to get around the prob which I haven't tried yet - still seems like a bug though...

http://forums.gentoo.org/viewtopic.php?t=96872&highlight=openldap

hope this helps

david
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-22 22:20:27 UTC
could you include the output of 
ls -l /usr/include/db* /usr/lib/libdb*

i'm wondering if your berkdb is out of whack.
Comment 4 David ac 2004-08-23 01:16:21 UTC
18:15 /usr/portage/sys-libs/db  #  ls -l /usr/include/db*
lrwxrwxrwx  1 root root   8 Jun 28 21:57 /usr/include/db.h -> db4/db.h
lrwxrwxrwx  1 root root  12 Jun 28 21:57 /usr/include/db_185.h -> db4/db_185.h

/usr/include/db1:
total 24
-rw-r--r--  1 root root 8298 Apr 23  2003 db.h
-rw-r--r--  1 root root 4456 Apr 23  2003 mpool.h
-rw-r--r--  1 root root 2881 Apr 23  2003 ndbm.h

/usr/include/db3:
total 80
-r--r--r--  1 root root 51043 Jun 28 21:56 db.h
-r--r--r--  1 root root  5657 Jun 28 21:56 db_185.h
-r--r--r--  1 root root 19263 Jun 28 21:56 db_cxx.h

/usr/include/db4:
total 112
-r--r--r--  1 root root  1209 Mar 15 14:35 cxx_common.h
-r--r--r--  1 root root  2129 Mar 15 14:35 cxx_except.h
-r--r--r--  1 root root 70362 Mar 15 14:35 db.h
-r--r--r--  1 root root  5903 Mar 15 14:35 db_185.h
-r--r--r--  1 root root 22225 Mar 15 14:35 db_cxx.h

/usr/include/db4.1:
total 124
-r--r--r--  1 root root  1212 Mar 13 21:43 cxx_common.h
-r--r--r--  1 root root  3967 Mar 13 21:43 cxx_except.h
-r--r--r--  1 root root 78588 Mar 13 21:43 db.h
-r--r--r--  1 root root  6210 Mar 13 21:43 db_185.h
-r--r--r--  1 root root 25120 Mar 13 21:43 db_cxx.h
18:15 /usr/portage/sys-libs/db  #  ls -l /usr/lib/libdb*
lrwxrwxrwx  1 root root      11 Jun 28 21:56 /usr/lib/libdb-1.so -> libdb1.so.2
-rw-r--r--  1 root root  742122 Jun 28 21:56 /usr/lib/libdb-3.2.a
-rw-r--r--  1 root root     629 Jun 28 21:56 /usr/lib/libdb-3.2.la
-rwxr-xr-x  1 root root  531632 Jun 28 21:56 /usr/lib/libdb-3.2.so
lrwxrwxrwx  1 root root      12 Jun 28 21:56 /usr/lib/libdb-3.so -> libdb-3.2.so
-r--r--r--  1 root root  943614 Mar 15 14:35 /usr/lib/libdb-4.0.a
-r--r--r--  1 root root     703 Mar 15 14:35 /usr/lib/libdb-4.0.la
-r-xr-xr-x  1 root root  758929 Mar 15 14:35 /usr/lib/libdb-4.0.so
-rw-r--r--  1 root root 1088568 Mar 13 21:43 /usr/lib/libdb-4.1.a
-rw-r--r--  1 root root     703 Mar 13 21:43 /usr/lib/libdb-4.1.la
-rwxr-xr-x  1 root root  886699 Mar 13 21:43 /usr/lib/libdb-4.1.so
lrwxrwxrwx  1 root root      11 Jun 28 21:56 /usr/lib/libdb.a -> libdb-4.1.a
lrwxrwxrwx  1 root root      12 Jun 28 21:57 /usr/lib/libdb.so -> libdb-4.1.so
lrwxrwxrwx  1 root root      11 Jun 28 21:56 /usr/lib/libdb.so.2 -> libdb1.so.2
lrwxrwxrwx  1 root root      12 Jun 28 21:56 /usr/lib/libdb.so.3 -> libdb-3.2.so
-rw-r--r--  1 root root  851634 Apr 23  2003 /usr/lib/libdb1.a
lrwxrwxrwx  1 root root      11 Jun 28 21:56 /usr/lib/libdb1.so -> libdb1.so.2
-rwxr-xr-x  1 root root   62897 Apr 23  2003 /usr/lib/libdb1.so.2
-rw-r--r--  1 root root  807234 Jun 28 21:56 /usr/lib/libdb_cxx-3.2.a
-rw-r--r--  1 root root     649 Jun 28 21:56 /usr/lib/libdb_cxx-3.2.la
-rwxr-xr-x  1 root root  574988 Jun 28 21:56 /usr/lib/libdb_cxx-3.2.so
lrwxrwxrwx  1 root root      16 Jun 28 21:56 /usr/lib/libdb_cxx-3.so -> libdb_cxx-3.2.so
-r--r--r--  1 root root 1023170 Mar 15 14:35 /usr/lib/libdb_cxx-4.0.a
-r--r--r--  1 root root     731 Mar 15 14:35 /usr/lib/libdb_cxx-4.0.la
-r-xr-xr-x  1 root root  826600 Mar 15 14:35 /usr/lib/libdb_cxx-4.0.so
-rw-r--r--  1 root root 1182026 Mar 13 21:43 /usr/lib/libdb_cxx-4.1.a
-rw-r--r--  1 root root     731 Mar 13 21:43 /usr/lib/libdb_cxx-4.1.la
-rwxr-xr-x  1 root root  969976 Mar 13 21:43 /usr/lib/libdb_cxx-4.1.so
lrwxrwxrwx  1 root root      15 Jun 28 21:56 /usr/lib/libdb_cxx.a -> libdb_cxx-4.1.a
lrwxrwxrwx  1 root root      16 Jun 28 21:57 /usr/lib/libdb_cxx.so -> libdb_cxx-4.1.so
lrwxrwxrwx  1 root root      16 Jun 28 21:56 /usr/lib/libdb_cxx.so.3 -> libdb_cxx-3.2.so
-r--r--r--  1 root root 1056086 Mar 15 14:35 /usr/lib/libdb_java-4.0.a
-r--r--r--  1 root root     738 Mar 15 14:35 /usr/lib/libdb_java-4.0.la
-r-xr-xr-x  1 root root  849016 Mar 15 14:35 /usr/lib/libdb_java-4.0.so
-rw-r--r--  1 root root 1209234 Mar 13 21:43 /usr/lib/libdb_java-4.1.a
-rw-r--r--  1 root root     738 Mar 13 21:43 /usr/lib/libdb_java-4.1.la
-rwxr-xr-x  1 root root  984335 Mar 13 21:43 /usr/lib/libdb_java-4.1.so
lrwxrwxrwx  1 root root      16 Jun 28 21:56 /usr/lib/libdb_java.a -> libdb_java-4.1.a
lrwxrwxrwx  1 root root      17 Jun 28 21:57 /usr/lib/libdb_java.so -> libdb_java-4.1.so
18:15 /usr/portage/sys-libs/db  #
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-23 02:29:26 UTC
yes that's it.
the db.h include file is for db4.0, and the libdb.so is for 4.1 :-(.
do:
emerge '=sys-libs/db-3*' '=sys-libs/db-4.0*' '=sys-libs/db-4.1*'

and then your system should be in order and work right.
Comment 6 David ac 2004-08-23 03:54:34 UTC
ok cool - thanks - emerging atm....

would this problem be one affecting everyone though, or is there something particular that i might have done to my system to make this happen? like i've never actually touched the db ebuilds manually before (only emerged as dependancies) and i was emerging openldap for the first time when this happened. 

does this mean something in the ebuilds might need fixing?

well, anyways, thanks for the help in resolving this one for me,

david
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-23 08:21:57 UTC
Depending on how actively your system is used, there have been a few cases on ~arch where the db symlinks accidently got messed around with (which lead to the creation of db.eclass to keep them sane).
Comment 8 David ac 2004-08-23 17:12:12 UTC
oh ok - that makes sense - at least i know its not going to happen again!
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-23 19:12:32 UTC
ok, i'm closing this as invalid since your sys-libs/db was borked.
Comment 10 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-24 22:01:22 UTC
hmm, i thought i closed this before
Comment 11 Peter `MathFox' Roozemaal 2005-04-26 05:42:03 UTC
*** Bug 90481 has been marked as a duplicate of this bug. ***
Comment 12 CJ Kucera 2005-10-11 07:17:14 UTC
I'm having basically the same problem here, and none of the suggestions given
here are actually working for me.  It *looks* like all my db symlinks are set up
properly, etc.  Here's a plethora of information:

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)... yes
checking for Berkeley DB version match... yes
checking for Berkeley DB thread support... yes
checking Berkeley DB version for BDB backend... no
configure: error: BDB/HDB: BerkeleyDB version incompatible

That's what happens at the end of the OpenLDAP configure step (this is with
openldap-2.2.28, btw).  Versions of db installed:

# etcat -v sys-libs/db
[ Results for search key           : sys-libs/db ]
[ Candidate applications found : 11 ]

 Only printing found installed programs.

*  sys-libs/db :
        [   ] 1.85-r1 (1) OVERLAY
        [  I] 1.85-r2 (1) OVERLAY
        [   ] 3.2.9-r7 (3) OVERLAY
        [  I] 3.2.9-r10 (3) OVERLAY
        [   ] 4.0.14-r2 (4) OVERLAY
        [  I] 4.0.14-r3 (4) OVERLAY
        [   ] 4.1.25_p1-r3 (4.1) OVERLAY
        [  I] 4.1.25_p1-r4 (4.1) OVERLAY
        [M~ ] 4.2.52_p1 (4.2) OVERLAY
        [   ] 4.2.52_p2 (4.2) OVERLAY
        [M~ ] 4.3.27 (4.3) OVERLAY

I'm not sure what all that "OVERLAY" stuff means...  I *do* have an overlay
defined in make.conf, though I've double-checked that I don't have any db builds
in there (nor have I in the past).

My relevant entries in /usr/lib:

lrwxrwxrwx  1 root root      11 Oct 11 08:45 /usr/lib/libdb-1.so -> libdb1.so.2*
-rw-r--r--  1 root root  734790 Oct 11 08:35 /usr/lib/libdb-3.2.a
-rw-r--r--  1 root root     629 Oct 11 08:35 /usr/lib/libdb-3.2.la
-rwxr-xr-x  1 root root  523532 Oct 11 08:35 /usr/lib/libdb-3.2.so*
lrwxrwxrwx  1 root root      12 Oct 11 08:45 /usr/lib/libdb-3.so -> libdb-3.2.so*
-r--r--r--  1 root root  925486 Oct 11 08:40 /usr/lib/libdb-4.0.a
-r--r--r--  1 root root     703 Oct 11 08:40 /usr/lib/libdb-4.0.la
-r-xr-xr-x  1 root root  670900 Oct 11 08:40 /usr/lib/libdb-4.0.so*
-rw-r--r--  1 root root 1066708 Oct 11 08:45 /usr/lib/libdb-4.1.a
-rw-r--r--  1 root root     703 Oct 11 08:45 /usr/lib/libdb-4.1.la
-rwxr-xr-x  1 root root  782148 Oct 11 08:45 /usr/lib/libdb-4.1.so*
lrwxrwxrwx  1 root root      11 Oct 11 08:45 /usr/lib/libdb.a -> libdb-4.1.a
lrwxrwxrwx  1 root root      12 Oct 11 08:45 /usr/lib/libdb.so -> libdb-4.1.so*
lrwxrwxrwx  1 root root      11 Oct 11 08:45 /usr/lib/libdb.so.2 -> libdb1.so.2*
lrwxrwxrwx  1 root root      12 Oct 11 08:45 /usr/lib/libdb.so.3 -> libdb-3.2.so*
-rw-r--r--  1 root root  915018 Oct 10 23:22 /usr/lib/libdb1.a
lrwxrwxrwx  1 root root      11 Oct 11 08:45 /usr/lib/libdb1.so -> libdb1.so.2*
-rwxr-xr-x  1 root root   57500 Oct 10 23:22 /usr/lib/libdb1.so.2*
-rw-r--r--  1 root root  799902 Oct 11 08:35 /usr/lib/libdb_cxx-3.2.a
-rw-r--r--  1 root root     649 Oct 11 08:35 /usr/lib/libdb_cxx-3.2.la
-rwxr-xr-x  1 root root  570236 Oct 11 08:35 /usr/lib/libdb_cxx-3.2.so*
lrwxrwxrwx  1 root root      16 Oct 11 08:45 /usr/lib/libdb_cxx-3.so ->
libdb_cxx-3.2.so*
-r--r--r--  1 root root 1005090 Oct 11 08:40 /usr/lib/libdb_cxx-4.0.a
-r--r--r--  1 root root     731 Oct 11 08:40 /usr/lib/libdb_cxx-4.0.la
-r-xr-xr-x  1 root root  727852 Oct 11 08:40 /usr/lib/libdb_cxx-4.0.so*
-rw-r--r--  1 root root 1165086 Oct 11 08:45 /usr/lib/libdb_cxx-4.1.a
-rw-r--r--  1 root root     731 Oct 11 08:45 /usr/lib/libdb_cxx-4.1.la
-rwxr-xr-x  1 root root  849664 Oct 11 08:45 /usr/lib/libdb_cxx-4.1.so*
lrwxrwxrwx  1 root root      15 Oct 11 08:45 /usr/lib/libdb_cxx.a -> libdb_cxx-4.1.a
lrwxrwxrwx  1 root root      16 Oct 11 08:45 /usr/lib/libdb_cxx.so ->
libdb_cxx-4.1.so*
lrwxrwxrwx  1 root root      16 Oct 11 08:45 /usr/lib/libdb_cxx.so.3 ->
libdb_cxx-3.2.so*
-rw-r--r--  1 root root     654 Oct 11 08:35 /usr/lib/libdb_java-3.2.la
-rwxr-xr-x  1 root root  592520 Oct 11 08:35 /usr/lib/libdb_java-3.2.so*
lrwxrwxrwx  1 root root      17 Oct 11 08:45 /usr/lib/libdb_java-3.so ->
libdb_java-3.2.so*
-r--r--r--  1 root root 1036778 Oct 11 08:40 /usr/lib/libdb_java-4.0.a
-r--r--r--  1 root root     738 Oct 11 08:40 /usr/lib/libdb_java-4.0.la
-r-xr-xr-x  1 root root  748716 Oct 11 08:40 /usr/lib/libdb_java-4.0.so*
-rw-r--r--  1 root root 1186182 Oct 11 08:45 /usr/lib/libdb_java-4.1.a
-rw-r--r--  1 root root     738 Oct 11 08:45 /usr/lib/libdb_java-4.1.la
-rwxr-xr-x  1 root root  865780 Oct 11 08:45 /usr/lib/libdb_java-4.1.so*
lrwxrwxrwx  1 root root      16 Oct 11 08:45 /usr/lib/libdb_java.a ->
libdb_java-4.1.a
lrwxrwxrwx  1 root root      17 Oct 11 08:45 /usr/lib/libdb_java.so ->
libdb_java-4.1.so*
lrwxrwxrwx  1 root root      17 Oct 11 08:45 /usr/lib/libdb_java.so.3 ->
libdb_java-3.2.so*
-r--r--r--  1 root root 1064386 Oct 11 08:40 /usr/lib/libdb_tcl-4.0.a
-r--r--r--  1 root root     731 Oct 11 08:40 /usr/lib/libdb_tcl-4.0.la
-r-xr-xr-x  1 root root  770036 Oct 11 08:40 /usr/lib/libdb_tcl-4.0.so*
-rw-r--r--  1 root root 1159300 Oct 11 08:45 /usr/lib/libdb_tcl-4.1.a
-rw-r--r--  1 root root     731 Oct 11 08:45 /usr/lib/libdb_tcl-4.1.la
-rwxr-xr-x  1 root root  845800 Oct 11 08:45 /usr/lib/libdb_tcl-4.1.so*
lrwxrwxrwx  1 root root      15 Oct 11 08:45 /usr/lib/libdb_tcl.a -> libdb_tcl-4.1.a
lrwxrwxrwx  1 root root      16 Oct 11 08:45 /usr/lib/libdb_tcl.so ->
libdb_tcl-4.1.so*
-rw-r--r--  1 root root    8240 Jul  1  2004 /usr/lib/libdbx.o

... and now stuff in /usr/include:

# ls -l /usr/include/db* 
lrwxrwxrwx  1 root root   10 Oct 11 08:45 /usr/include/db.h -> db4.1/db.h
lrwxrwxrwx  1 root root   14 Oct 11 08:45 /usr/include/db_185.h -> db4.1/db_185.h

/usr/include/db1:
total 48
drwxr-xr-x    2 root root  4096 Oct 10 23:22 ./
drwxr-xr-x  316 root root 20480 Oct 11 08:45 ../
-rw-r--r--    1 root root  8298 Oct 10 23:22 db.h
-rw-r--r--    1 root root  4456 Oct 10 23:22 mpool.h
-rw-r--r--    1 root root  2881 Oct 10 23:22 ndbm.h

/usr/include/db3:
total 108
drwxr-xr-x    2 root root  4096 Oct 11 08:35 ./
drwxr-xr-x  316 root root 20480 Oct 11 08:45 ../
-r--r--r--    1 root root 51043 Oct 11 08:35 db.h
-r--r--r--    1 root root  5657 Oct 11 08:35 db_185.h
-r--r--r--    1 root root 19263 Oct 11 08:35 db_cxx.h

/usr/include/db4:
total 140
drwxr-xr-x    2 root root  4096 Oct 11 08:40 ./
drwxr-xr-x  316 root root 20480 Oct 11 08:45 ../
-r--r--r--    1 root root  1209 Oct 11 08:40 cxx_common.h
-r--r--r--    1 root root  2129 Oct 11 08:40 cxx_except.h
-r--r--r--    1 root root 70362 Oct 11 08:40 db.h
-r--r--r--    1 root root  5903 Oct 11 08:40 db_185.h
-r--r--r--    1 root root 22225 Oct 11 08:40 db_cxx.h

/usr/include/db4.1:
total 152
drwxr-xr-x    2 root root  4096 Oct 11 08:45 ./
drwxr-xr-x  316 root root 20480 Oct 11 08:45 ../
-r--r--r--    1 root root  1212 Oct 11 08:45 cxx_common.h
-r--r--r--    1 root root  3967 Oct 11 08:45 cxx_except.h
-r--r--r--    1 root root 78588 Oct 11 08:45 db.h
-r--r--r--    1 root root  6210 Oct 11 08:45 db_185.h
-r--r--r--    1 root root 25120 Oct 11 08:45 db_cxx.h

As you can tell from the timestamps, I've just recently tried doing the "emerge
'=sys-libs/db-3*' '=sys-libs/db-4.0*' '=sys-libs/db-4.1*'" trick mentioned above.

Any other ideas?
Comment 13 CJ Kucera 2005-10-11 07:31:33 UTC
Hm, well perhaps I should have noticed that there was a 4.2 version of db which
I could have tried.  I installed that one and the openldap compile seems to be
doing okay.  Should that be a dependency in openldap?