Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit


» HP STK home
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
Content starts here

critical impact:

libdbm, libndbm - not supported (CrUn364)

LIB Impacts

Problem description

The libdbm and libndbm libraries exist on Tru64 UNIX but not on HP-UX.

The dbm (Database Manager) functions and the ndbm (New Database Manager) functions maintain key/content pairs in a database. The ndbm functions replace the earlier dbm functions, which only manage a single database.

The dbm functions are dbminit, dbmclose, fetch, store, delete, firstkey, nextkey, and forder. On Tru64 UNIX, they are in libdbm (.a only). On HP-UX, they are in libc, except for the forder function, which is not supported.

The ndbm functions are dbm_open, dbm_close, dbm_fetch, dbm_store, dbm_delete, dbm_firstkey, dbm_nextkey, dbm_error, and dbm_clearerr. On Tru64 UNIX, they are in the libndbm and libc libraries. The libndbm versions are just ndbm interfaces to the Berkeley DB library, libdb. On HP-UX, the ndbm functions are only in the libc library.


Programming Libraries-ldbm Programming Libraries-lndbm Programming Librarieslibdbm.a Programming Librarieslibndbm.so

See also

Solution description

Use the dbm and ndbm functions in libc on HP-UX, or use the ndbm functions in the Berkeley DB library available from Sleepy Cat Software.

Sleepy Cat Software provides the same version of the Berkeley DB library that Tru64 UNIX does (1.85), as well as much newer versions. The library includes ndbm interfaces.

See also

Problem summary

classifications source types OS release severity type
LIB Make, Script any HP-UX 11i version critical unavailable
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.