httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <>
Subject Re: [PATCH] fix mod_auth_dbm on Red Hat 7 (fwd)
Date Tue, 19 Dec 2000 11:15:41 GMT

On Tue, 19 Dec 2000, Florian Wunderlich wrote:
> Sorry, I don't get it. I searched the net which db library is used by
> Red Hat, and I could only find sleepycat's db implementation.

Yes, Red Hat package all three versions of Sleepycat DB: db1, db2 and db3.
They are packaged so that all three can be installed at the same time: the
headers go in a subdirectory of /usr/include named dbN where N is 1..3.
Similarly the libraries are installed as /usr/lib/

> So if you want to use sleepycat's instead of gdbm, modifying
> find-dbm-lib would not make sense, as you search for dbm_open, which is
> not in this library:
> main:~$ nm -s /opt/libdb/lib/ | grep dbm_open
> 00036dac T __db_ndbm_open
> dbm_open is #defined to __db_ndbm_open in the headers.
[snip discussion of using DB3]

You are talking about Sleepycat DB3 here, I presume? Sure, maybe DB3 could
be added as another option, but the DB3 development package isn't
installed by default in RHL7, whereas the DB1 devel package is, so using
the db1/ndbm.h is still a requirement for Apache IMO.

(Your changes would have to be modified to use 'db3/db.h', and link
against -ldb3, to work on RHL systems.)

Thanks for clearing this up, though: I had thought that the DB1 interface
was shipped as part of glibc, hence my first comment, but I understand
much better what is going on :)



Joe Orton, Red Hat Europe

View raw message