$ cat z.c #include <nspr4/nspr.h> int main() { return 0; } $ gcc z.c In file included from /usr/include/nspr4/prinet.h:87:0, from /usr/include/nspr4/nspr.h:49, from z.c:1: /usr/include/netdb.h:33:24: fatal error: rpc/netdb.h: No such file or directory compilation terminated.
Possibly a glibc packaging problem. Looks like /usr/include/rpc/netdb.h has to be provided by glibc-headers, and system thinks that it should be already installed, since glibc-headers is installed. # yum install /usr/include/rpc/netdb.h Loaded plugins: langpacks, presto, refresh-packagekit Setting up Install Process Package matching glibc-headers-2.13.90-9.i686 already installed. Checking for update. Nothing to do But file doesn't exist. I tried reinstalling glibc-headers, file is still missing.
Simpler reproducer: #include <netdb.h> int main() { return 0; } Since /usr/include/netdb.h is a glibc file, reassigning to glibc.
*** This bug has been marked as a duplicate of bug 702354 ***