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

Re: Installation problem

On Wed, Jul 17, 2002 at 08:41:28AM -0000, sandro78@freemail.it wrote:
> I've been installe DB 4.0.14 and  3.1.17

That might be part of the problem. OpenLDAP can only use one type of
DB library at a time.

> Entering subdirectory libldbm
> make[2]: Entering directory `/usr/local/openldap-2.0.7/libraries/libldbm'
> cc -g -O2 -I../../include        -I../../include       -c -o ldbm.o ldbm.c
> ldbm.c: In function `ldbm_open':
> ldbm.c:249: structure has no member named `set_malloc'

Make sure that you are using the headers and libraries from a single
version of the database. If you installed DB 4.0.14 yourself, it may
have put its header files in an unusual place and you will have to
tell configure about that.

Try something like this:

export CPPFLAGS="-I/usr/local/include -I/usr/local/include/db4"
export LDFLAGS=-L/usr/local/lib

./configure     --prefix=/usr/local \
                --includedir=/usr/local/include \
		.... more options ....

|                 From Andrew Findlay, Skills 1st Ltd                 |
| Consultant in large-scale systems, networks, and directory services |
|        Andrew.Findlay@skills-1st.co.uk       +44 1628 782565        |