Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to install glibc-devel package in Ubuntu 12.04. I am VM Ware work station in my project and this package is one of the dependency to build project image. I tried to find information on google about this package but didnt find any staisfactory answer.

Is this package not supported in Ubuntu 12.04? If not then what is the alternative package for it.

Any help on this will be useful.

share|improve this question
    
After apt-get update you can use apt-cache search libc6 dev to find eligible packages. –  0xC0000022L Apr 3 '13 at 16:52

3 Answers 3

The build-essential Install build-essential package should sort you out.

sudo apt-get install build-essential
share|improve this answer

If you just need the libc header files, install libc6-dev Install libc6-dev.

If you prefer to install on the command-line, you can use:

sudo apt-get update && sudo apt-get install libc6-dev

This is worth mentioning, as if you're using a compiler other than the version of GCC as provided by build-essential Install build-essential / gcc-defaults Install gcc-defaults, you may want to just install the libc6-dev package.

(Installing build-essential will work because it will cause libc6-dev to be installed. libc6-dev is what actually provides the header files that enable you to link against GNU libc.)

share|improve this answer

I have the same issue, and I clone the glibc (GNU libc) source with the command:

git clone git://sourceware.org/git/glibc.git

It runs fine for me.

share|improve this answer
    
This does not appear to be the specific version present in Ubuntu. Also, the source is not what the OP needs, but simply the headers. –  Eliah Kagan Apr 3 '13 at 17:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.