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

# OSF/1

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

   Special compile-time flags are required when compiling threaded applications on OSF/1. 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