[Novalug] Ubuntu: Where O where is stdio.h?

Megan Larko larkoc at iges.org
Mon Jan 7 12:26:39 EST 2008


Hello Folks, Ubuntu/Debian folks in particular,

I have several Ubunutu boxes at this point.  I have been happy with 
them.   One most recently installed box will not run configure or 
anything.   I finally isolated the problem to missing the stdio.h 
library.   I was running a test with that old favorite "hello.c".  It 
works on all of my boxes except one.   That box states it has gcc 
installed but no /usr/include/bits/stdio.h  or /usr/include/stdio.h 
file.  I have another box with the same version of Ubuntu 7.10 and it 
has such files.

I know in the Red Hat derivatives one may issue the command:
[larkoc at crew01 200801]$ rpm -q --whatprovides /usr/include/bits/stdio.h
glibc-headers-2.3.4-2.36

I tried to issue apt-get install glibc-headers on the Ubuntu box and 
there was no such file found via my sources.list.

How do I get the gcc stdio.h file onto my one box?

larkoc at GMU-CREW:~/megC$ gcc --version
gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Thanks!
megan



More information about the Novalug mailing list