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 / luik 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
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.