2
<!--Copyright 1997-2002 by Sleepycat Software, Inc.-->
3
<!--All rights reserved.-->
4
<!--See the file LICENSE for redistribution information.-->
7
<title>Berkeley DB Reference Guide: Mac OS X</title>
8
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
9
<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++">
12
<a name="2"><!--meow--></a>
13
<table width="100%"><tr valign=top>
14
<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Building Berkeley DB for UNIX systems</dl></h3></td>
15
<td align=right><a href="../../ref/build_unix/linux.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../reftoc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/osf1.html"><img src="../../images/next.gif" alt="Next"></a>
18
<h1 align=center>Mac OS X</h1>
20
<p><li><b>I cannot use the Java API on Mac OS X.</b>
21
<p>The Berkeley DB configuration and build procedure is unable to dynamically
22
load some libraries on Mac OS X. This restriction is expected to be
23
removed in future Berkeley DB releases.
24
<p>There is a workaround for Java. Mac OS X normally requires Java
25
loadable libraries to end with a .jnilib extension. Libtool, used by
26
our build procedure, does not support this extension. To work around
27
this, you must add a -D option to your Java command line to specify the
28
complete pathname of the installed library:
29
<p><blockquote><pre>% java -Dsleepycat.db.libfile=/full/path/to/libdb_java-VERSION.so</pre></blockquote>
30
<p><li><b>I cannot run the test suite on Mac OS X.</b>
31
<p>The Mac OS X 10.1 and 10.2 Developer Tools installer will optionally
32
install one additional package called simply, "BSD SDK". That package
33
contains the additional parts of the TCL distribution required to
34
configure, compile and run the Berkeley DB test suite. The Berkeley DB configuration
35
step will need the flag "--with-tcl=/System/Library/Tcl/8.3" added to
36
the arguments in order to locate the now installed TCL distribution.
38
<table width="100%"><tr><td><br></td><td align=right><a href="../../ref/build_unix/linux.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../reftoc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/osf1.html"><img src="../../images/next.gif" alt="Next"></a>
40
<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font>