Re: gcc not properly installed - cannot find libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When I check what glibc packages are installed I see this
# yum list all|grep glibc
glibc.i686                               2.5-24                 installed
glibc.x86_64                             2.5-24                 installed
glibc-common.x86_64                      2.5-24                 installed

And these are the available packages I can install. 
compat-glibc-2.3.4-2.26.i386.rpm
compat-glibc-2.3.4-2.26.x86_64.rpm
compat-glibc-headers-2.3.4-2.26.x86_64.rpm
glibc-2.5-24.i686.rpm
glibc-2.5-24.x86_64.rpm
glibc-common-2.5-24.x86_64.rpm
glibc-devel-2.5-24.i386.rpm
glibc-devel-2.5-24.x86_64.rpm
glibc-headers-2.5-24.x86_64.rpm
glibc-utils-2.5-24.x86_64.rpm

Should I install glibc-devel-2.5-24.x86_64.rpm?  What about
glibc-headers-2.5-24.x86_64.rpm too?  Or are these installed with what is
already installed?
Thanks!



Brian Dessent wrote:
> 
> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/gcc-not-properly-installed---cannot-find-libraries-tp19888085p19890897.html
Sent from the gcc - Help mailing list archive at Nabble.com.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux