LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-30-2007, 04:43 PM   #1
loke137
Member
 
Registered: Feb 2003
Location: Brasil
Distribution: Debian Etch
Posts: 147

Rep: Reputation: 15
Issue with libc6 and gcc


I am having trouble with my gcc. I have installed Debian Etch from the net-install CD. I have, later, installed gcc-4.1.
I tried to compile a 'Hello World' code, but I get a error saying that <stdio.h> cannot be located. However, I do have libc6 on the system. How do I point gcc to the location of the library?
Thank you!
 
Old 05-01-2007, 12:16 PM   #2
loke137
Member
 
Registered: Feb 2003
Location: Brasil
Distribution: Debian Etch
Posts: 147

Original Poster
Rep: Reputation: 15
Moron mistake: didnt have libc6-dev installed.
Maybe this thread will help another user=ID 10 T not lose half a day
 
Old 05-01-2007, 01:18 PM   #3
Corrado
Member
 
Registered: Aug 2004
Location: Washington
Distribution: RHEL
Posts: 174

Rep: Reputation: 16
RPM tells me that I have libgcc-3.4.4 installed but I can't find it. How can I find where the library is?

Chris
 
Old 05-01-2007, 04:01 PM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Quote:
Originally Posted by Corrado
How can I find where the library is?
man 8 rpm, look at “--filesbypkg”
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libc6-dev version conflicts with libc6 in Dapper peppill Ubuntu 2 12-04-2006 01:13 PM
autotools/gcc linker issue fibbi Linux - Software 2 05-08-2006 10:38 PM
gcc 3.4.2 and template issue ahwkong Programming 1 04-16-2005 01:18 PM
GCC 3.3.2-6 Installation Issue Shoal Linux - Software 1 11-02-2004 07:24 PM
Woody ALPHA gcc and/or libc6.1 question jkmccarthy Debian 1 10-21-2004 07:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration