where is stdio.h ?!!
David M. Carney
carney1979 at gmail.com
Sat Feb 11 14:49:28 UTC 2006
On Sat, 11 Feb 2006 19:39:20 +0530
Santanu Chatterjee <thisissantanu at gmail.com> wrote:
> Hi Everybody,
>
> I installed Breezy on a computer today. Then installed gcc,
> but surprisingly, a simple 'helloworld.c' type program could
> not be compiled. It says, stdio.h was not found?
>
> Has anyone faced this problem?
>
> Regards,
> Santanu
>
When I'm missing a file, I use apt-file to find what package it's in.
First, install apt-file with:
sudo apt-get install apt-file
then:
sudo apt-file update
Now you're ready to find what package(s) stdio.h (or any other files)
are contained in.
As a normal user, you can do this:
apt-file search -l stdio.h
...and you will get this return:
avr-libc
cmix
dietlibc-dev
ecos
elks-libc
gcc-snapshot
gccchecker
ivtools-dev
lam4-dev
libace-dev
libbind-dev
libboost-dev
libc5-altdev
libc6-dev
libc6-dev-amd64
libfcgi-dev
libg++27-altdev
libglib2.0-dev
libgsf-1-dev
libhdf4g-dev
libhdf5-lam-dev
libhdf5-mpich-dev
libhdf5-serial-dev
libicu21-dev
libicu28-dev
libklibc-dev
libstdc++5-3.3-doc
libstdc++6-doc
libstlport4.6-dev
libuclibc-dev
manpages-posix-dev
mingw32-runtime
mosml-doc
newlib-m68hc1x
openoffice.org-dev
oskit
pccts
perl
pike7.2
pike7.4-core
pike7.6-core
pnetc
pocketpc-gcc
prc-tools-arm
prc-tools-m68k
sdcc-libraries
sfio-dev
splint
tendra
wine-dev
yorick
This return is kinda large, but you would probably figure out that you
need the libc6-dev package from it.
The nice part about the -l (lowercase L) is it makes apt-file return
just the package names. Try it with just "apt-file search <packagename>"
sometime and you'll see what I mean!
Best to you.
David
--
Registered Linux User #297958
http://carney1979.blogspot.com/
More information about the ubuntu-users
mailing list