Berkeley DB: Building Shared Libraries for HP/UX platforms
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,b+tree,btr ee,hash,hashing,transaction,transactions,locking,logging,access method,access me thods,java,C,C++

# Building Shared Libraries for HP/UX platforms

For HP-UX, when using the native compiler, the files must be compiled with the +z or +Z option and placed in a .sl file.

1. Configure the distribution with the +z or +Z C compiler flag:

       env "CFLAGS=+z" ../dist/configure ...

2. Edit the Makefile and change:

       "libdb= libdb.a" to "libdb= libdb.sl".

3. Build and install the distribution as usual.