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

PrevRefNext

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

PrevRefNext

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