Berkeley DB Reference Guide: Mac OS X
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++

### Berkeley DB Reference Guide: Building Berkeley DB for UNIX/POSIX systems |

### Mac OS X

1. I cannot use the Java API on Mac OS X.

   The Berkeley DB configuration and build procedure is unable to dynamically load some libraries on Mac OS X. This restriction is expected to be removed in future Berkeley DB releases.

   There is a workaround for Java. Mac OS X normally requires Java loadable libraries to end with a .jnilib extension. Libtool, used by our build procedure, does not support this extension. To work around this, you must add a -D option to your Java command line to specify the complete pathname of the installed library:

   >     % java -Dsleepycat.db.libfile=/full/path/to/libdb_java-VERSION.so

Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.