|
- Berkeley DB Reference Guide:
- Building Berkeley DB for UNIX systems
|
|
Mac OS X
- 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
- I cannot run the test suite on Mac OS X.
The Mac OS X 10.1 and 10.2 Developer Tools installer will optionally
install one additional package called simply, "BSD SDK". That package
contains the additional parts of the TCL distribution required to
configure, compile and run the Berkeley DB test suite. The Berkeley DB configuration
step will need the flag "--with-tcl=/System/Library/Tcl/8.3" added to
the arguments in order to locate the now installed TCL distribution.
Copyright Sleepycat Software
|