1
<!--$Id: intro.so,v 10.21 2001/03/05 19:15:09 bostic Exp $-->
2
<!--Copyright 1997-2001 by Sleepycat Software, Inc.-->
3
<!--All rights reserved.-->
6
<title>Berkeley DB Reference Guide: Using Berkeley DB with Sendmail</title>
7
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
8
<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++">
11
<a name="2"><!--meow--></a>
12
<table width="100%"><tr valign=top>
13
<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Sendmail</dl></h3></td>
14
<td align=right><a href="../../ref/tcl/faq.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../reftoc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/dumpload/utility.html"><img src="../../images/next.gif" alt="Next"></a>
17
<h1 align=center>Using Berkeley DB with Sendmail</h1>
18
<p>If you are attempting to use Berkeley DB with Sendmail 8.8.X, you must use
19
Berkeley DB version 1.85 (see the Sleepycat Software web site's
20
<a href="http://www.sleepycat.com/historic.html">historic releases</a>
21
of Berkeley DB page for more information).
22
<p>Berkeley DB versions 2.0 and later are only supported by Sendmail versions 8.9.X
24
<p>Berkeley DB versions 3.0 and later are only supported by Sendmail versions
26
<p>We strongly recommend that you not use Berkeley DB version 1.85. It is no longer
27
maintained or supported and has known bugs that can cause Sendmail to
28
fail. Instead, please upgrade to Sendmail version 8.9.X or later and use
29
a later version of Berkeley DB. For more information on using Berkeley DB with
30
Sendmail, please review the README and src/README files in the Sendmail
32
<p>To load sendmail against Berkeley DB, add the following lines to
33
BuildTools/Site/site.config.m4:
34
<p><blockquote><pre>APPENDDEF(`confINCDIRS', `-I/usr/local/BerkeleyDB/include')
35
APPENDDEF(`confLIBDIRS', `-L/usr/local/BerkeleyDB/lib')</pre></blockquote>
36
<p>where those are the paths to #include <db.h> and libdb.a respectively.
37
Then, run "Build -c" from the src directory.
38
<p>Note that this Build script will use -DNEWDB on the compiles
39
and -L/path/to/libdb/directory -ldb on the link if it can find libdb.a;
40
the search path is $LIBDIRS:/lib:/usr/lib:/usr/shlib. $LIBDIRS is
41
NULL by default for most systems, but some set it in BuildTools/OS/foo.
42
Anyone can append to it as above (confLIBDIRS is the m4 variable name;
43
LIBDIRS is the shell-script variable name).
44
<p>To download Sendmail, or to obtain more information on Sendmail, see the
45
<a href="http://www.sendmail.org">Sendmail home page</a>, which includes
46
FAQ pages and problem addresses.
47
<table width="100%"><tr><td><br></td><td align=right><a href="../../ref/tcl/faq.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../reftoc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/dumpload/utility.html"><img src="../../images/next.gif" alt="Next"></a>
49
<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font>