Debian This forum is for the discussion of Debian Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
07-10-2009, 02:48 AM
#1
Member
Registered: Jul 2009
Posts: 43
Rep:
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?
07-10-2009, 02:56 AM
#2
Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
stdio for example is from glibc, so the glibc-headers -r glibc-devel package, depending on what it's called in Deb.
07-10-2009, 03:01 AM
#3
Senior Member
Registered: Dec 2003
Distribution: Debian wheezy/sid, PC-BSD
Posts: 3,000
Rep:
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 .
07-10-2009, 03:14 AM
#4
Moderator
Registered: Sep 2003
Location: Bologna
Distribution: OpenSUSE 12.1 CentOS 6.2
Posts: 8,994
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.
07-10-2009, 04:48 AM
#5
Member
Registered: Jul 2009
Posts: 43
Original Poster
Rep:
Thanks for helping.
i will get on the site and search.
07-10-2009, 05:05 AM
#6
Senior Member
Registered: Dec 2003
Distribution: Debian wheezy/sid, PC-BSD
Posts: 3,000
Rep:
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
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 07:04 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News