Berkeley DB: Building Shared Libraries for HP/UX platforms
Полезная информация

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:

  2. Edit the Makefile and change:

  3. Build and install the distribution as usual.