LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 07-10-2009, 02:48 AM   #1
eryn
Member
 
Registered: Jul 2009
Posts: 43

Rep: Reputation: 15
Which package is these header files located?


I have got some problem with locating the package that includes these header files.

I can't find which package is these files belongs to

stdio.h
stdlib.h
unistd.h
sys/io.h
asm/io.h

Did anyone know which package is these files at or how to find them?
 
Old 07-10-2009, 02:56 AM   #2
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
stdio for example is from glibc, so the glibc-headers -r glibc-devel package, depending on what it's called in Deb.
 
Old 07-10-2009, 03:01 AM   #3
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
The actual package name is libc6 and libc6-dev in Debian. libc6 contains shared objects, libc6-dev contains the headers. Hope that helps.

Last edited by vharishankar; 07-10-2009 at 03:06 AM.
 
Old 07-10-2009, 03:14 AM   #4
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,488

Rep: Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956
Code:
$ dpkg-query -S /usr/include/stdio.h /usr/include/stdlib.h /usr/include/unistd.h /usr/include/sys/io.h
libc6-dev: /usr/include/stdio.h
libc6-dev: /usr/include/stdlib.h
libc6-dev: /usr/include/unistd.h
libc6-dev: /usr/include/sys/io.h
or visit Debian Packages --> Search the contents of packages --> packages that contain files named like this.
 
Old 07-10-2009, 04:48 AM   #5
eryn
Member
 
Registered: Jul 2009
Posts: 43

Original Poster
Rep: Reputation: 15
Thanks for helping.
i will get on the site and search.
 
Old 07-10-2009, 05:05 AM   #6
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
The solution has already been provided. The headers are in libc6-dev and the shared library in libc6

libc6 should already be installed on the system. I'm surprised that your system doesn't already have the header package libc6-dev

To install libc6-dev, if not already installed, use
Code:
apt-get install lic6-dev
 
  


Reply

Tags
header, package


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where is kernel header files located? Oh Cisco Debian 1 10-22-2004 06:11 AM
C Header Files. Where are they located?? RoaCh Of DisCor Linux - Software 1 08-09-2004 12:16 PM
where are header files located? Anubis Programming 2 07-04-2004 03:12 AM
c header files in linux in place of header files in windows? harun_acs Programming 1 03-17-2004 02:24 AM
Where are the standard header files located? CodeWarrior Programming 3 12-25-2003 10:33 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration