critical impact:
libdbm, libndbm - not supported (CrUn364)
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. Identifiers
 -ldbm |
 -lndbm |
 libdbm.a |
 libndbm.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 |
|