###

Berkeley DB Reference Guide:
  Building Berkeley DB for UNIX systems

# Linux

1. I can't compile and run multi-threaded applications.

   Special compile-time flags are required when compiling threaded applications on Linux. If you are compiling a threaded application, you must compile with the _REENTRANT flag:

   >     cc -D_REENTRANT ...

   The Berkeley DB library will automatically build with the correct options.

Copyright Sleepycat Software