Computing.Net > Forums > Linux > Problem find gcc libraries

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Problem find gcc libraries

Reply to Message Icon

Name: Mike S.
Date: September 6, 2002 at 11:46:08 Pacific
OS: Red Hat 7.3
CPU/Ram: 700M/128M
Comment:

I am trying to run a simple c program which prints "hello world". I know that gcc is installed on my machine. When I try to compile the program it tells me: "iostream.h: No such file or directory"
I have set many of the environment variables
such as PATH and LIBRARY path to look in /usr/bin and /usr/include/g++-3 but my program still can't find the library. Can anyone help me with this problem?

thank you



Sponsored Link
Ads by Google

Response Number 1
Name: abatis
Date: September 6, 2002 at 12:50:16 Pacific
Reply:

Someone may have a better way but you could reboot with RH7.3 Disk 1 go to upgrade installation > select packages and find the gcc packages and reinstall. This will also take care of missing dependecies. Or go to GnomeRPM go to "web find" on your left and it will show you what you have. Update/install as needed. It sounds like something is missing. I suggest installing the development package as well - always handy when something needs it.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Problem find gcc libraries

Finding GCC www.computing.net/answers/linux/finding-gcc/17775.html

Need GCC library reference www.computing.net/answers/linux/need-gcc-library-reference/17521.html

GCC on SUSE10 www.computing.net/answers/linux/gcc-on-suse10/28693.html