Bug 7256 - /usr/include/ndbm.h missing
/usr/include/ndbm.h missing
Status: CLOSED WONTFIX
Product: Red Hat Linux
Classification: Retired
Component: glibc (Show other bugs)
6.1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Cristian Gafton
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-11-23 11:06 EST by Andreas Luik
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-01-04 19:22:31 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Andreas Luik 1999-11-23 11:06:56 EST
The include file <ndbm.h> (/usr/include/ndbm.h) is missing from
RedHat 6.1.  It was available on RedHat 5.1 in glibc-devel-2.0.7-29.
Its absence makes it more difficult to compile programs which
use NDBM, because the <ndbm.h> include file is kind of a
"standard" one.

Note: ndbm.h header files are available in several other places:

taylor:~(32)> locate ndbm.h
/usr/i386-glibc20-linux/include/ndbm.h
/usr/include/db1/ndbm.h
/usr/include/gdbm/ndbm.h

Probably the easies fix is to add a symbolic link from
/usr/include/ndbm.h to /usr/include/db1/ndbm.h.

--
Andreas Luik         E-Mail: luik@orthogon.de / luik@isa.de
Orthogon GmbH        WWW:    http://www.orthogon.de/~luik
Sys/Net Admin        PGP:    E2 6A 41 70 67 1E 0B 68  94 0D 9E 83 95 16 AF
59
Comment 1 Cristian Gafton 2000-01-04 19:22:59 EST
use
   #include <db1/ndbm.h>

This is because glibc 2.1 switches to db2 as the default DB library and NDBM is
really a db1-type interface.

Note You need to log in before you can comment on or make changes to this bug.