gcc not properly installed - cannot find libraries
Brian Dessent
brian@dessent.net
Thu Oct 9 00:33:00 GMT 2008
FlaDude1 wrote:
> When I try to compile a simple file (Hello World) this is what I get:
> # gcc -o b.out test.c
> test.c:1:22: error: stdio.h: No such file or directory
It seems like you installed the compiler but not the C library
development package. stdio.h is part of the libc and isn't part of
gcc. You probably want "yum install glibc-devel" or whatever your
distro has called the package.
Brian
More information about the Gcc-help
mailing list