glibc is GNU's implementation of the Standard C library.

learn more… | top users | synonyms

2
votes
0answers
32 views

Why does glibc have 2 versions of the same functions? [closed]

I don't fully understand the versioning mechanism of glibc. In what cases do the developers decide a function needs a new version, and that function is no longer "backwards compatible" in glibc and a ...
1
vote
1answer
20 views

How to make my ELF run with both new and old version of glibc?

When I'm compiling my elf, it is "best practice" to make it link against the oldest version of glibc I can, so it will work both on new and old versions of glibc. i.e. if I use realpath, which in ...
1
vote
1answer
29 views

How do I install some required libraries for a program without sudo?

I am trying to run a program on a computer running Red Hat 6.5. This results in the three following errors: "/lib64/libc.so.6: version `GLIBC_2.14' not found" "/usr/lib64/libstdc++.so.6: version ...
2
votes
1answer
52 views

Ghost vulnerability - recompile C/C++ programs?

I've CentOS 6.0 server with glibc-2.12-1.7.el6.x86_64 running many open source services and some of my own C programs. To fix ghost vulnerability, I need to update it to glibc-2.12-1.149.el6_6.5. ...
12
votes
1answer
5k views

Ghost Vulnerability - CVE-2015-0235

Does the Ghost Vulnerability require access (as in being a logged in user) to the effected OS in question? Can someone clarify the 'remote attacker that is able to make an application call'? I only ...
1
vote
0answers
63 views

SIGINFO on GNU Linux (Arch Linux) missing

I am developing an application and I would like it to print some runtime stats to the console on demand. kill and signals came to my mind immediately. Reading through Unix signals on Wiki, SIGINFO ...
2
votes
2answers
29 views

Location of Language and Locale files

I'm using OpenSUSE 13.2 with GNOME 3.14 Desktop Environment. My interface language is en_US while my locale is ar_SY. My locale contain some wrong data about months names (May and June) and I want to ...
3
votes
1answer
406 views

Cannot update glibc on CentOS 7

I have CentOS 7 installed. I want to install the APR package for Apache, and I'm told I cannot install it because it requires at least glibc.2.14 while I have glibc.2.12 installed. I have downloaded ...
3
votes
1answer
2k views

How to update glibc to 2.14 in CentOS 6.5

I want to install Android NDK on my CentOS 6.5 machine. But when I ran the program, it says it needs glibc 2.14 to be able to run. My CentOS 6.5 only has Glibc 2.12 installed. So I tried to update ...
0
votes
1answer
592 views

How do I install GLIBC in Kali/Debian?

How can I install GLIBC? When I installed Spotify on my Kali 1.0.9a it gives me the following output when I try running Spotify through the Terminal: spotify: /lib/x86_64-linux-gnu/libc.so.6: version ...
5
votes
1answer
465 views

Cross compiling GLIBC for my ARM SoC

I am seeing something really weird inside a chroot-ed Debian armel environment. But first, a bit of backstory... This is long, but the question is complex and any potential help depends on knowing ...
4
votes
2answers
873 views

What is the difference between i686 and x86_64 packages?

I have a machine with both glibc i686 and x86_64, and a very annoying problem with glibc. Is it normal to have two libraries of the same name installed on one computer? How can I know which library ...
2
votes
1answer
91 views

How to install glibc version that corresponds to GCC 4.4 on RHEL5

We have a program with executables built on RHEL6 using GCC4.4 and we need to run it on RHEL5.5. But RHEL5.5, by default does not have the necessary version of glibc. Has anyone faced such an issue ...
1
vote
1answer
113 views

Error while installing glibc-2.14 from source

The version of glibc in the repository is 2.13 so I couldn't use apt-get to install it. I downloaded the source code of glibc-2.14, but when I run ./configure command I get this error: checking for ...
0
votes
1answer
156 views

Building custom glibc and compiling program against it

I've been scouring the internet for a couple of days now to get some information on how to (cross)compile glibc and then compile a program against it. So far, I've managed to compile glibc using the ...
1
vote
0answers
123 views

OpenEmbedded: root account doesn't exist!

I'm using the current OpenEmbedded system from: http://git.openembedded.org/openembedded-core/tree/ (For what it's worth, I'm also pulling in layers from ...
2
votes
0answers
48 views

Determine libc version used to create static library

I am seeing symbol referencing errors with the static libraries I am using (available with OpenSPARC processor). I have glibc 2.15 on my system. How do I determine the version of glibc used to create ...
6
votes
2answers
131 views

Would it be possible to compile and bootstrap GNU?

A new Guix release came out some time ago. And I got the idea that if I can bootstrap glibc, gcc, and guix to HURD and Mach, I can have a non-Linux GNU system. But I also need some software like bash, ...
0
votes
1answer
52 views

install kernel headers without overwriting old headers

I've built a newer (3.16-rc2) kernel which is running fine. My userspace program needs to link against the newer headers as it uses some new definitions in fcntrl.h etc. My question is how do I ...
5
votes
1answer
318 views

How to rebuild glibc on Arch Linux?

It seems like MATLAB is royally screwed up on Linux, because it "dynamically loads some libs with static TLS", which doesn't mean anything to me other than I get bunches of errors. The suggested work ...
0
votes
1answer
56 views

What are the disadvantages of uClibc?

I try to speed up my boot sequence, and somebody recommends to use the uClibc instead of Glibc. I've built an image with it, it gets smaller and faster to boot — but at which cost? Does anyone know ...
0
votes
1answer
4k views

cmake: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by cmake)

I want to run cmake for a program, [build]$ cmake ../ cmake: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by cmake) I have this error, how i can fix it? I use from ...
2
votes
1answer
709 views

No 32 development library error after install glibc-devel.i686

I am trying to install gcc 4.9.0 on centOS 6. During ./configure there is an error coming up: /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.4.7/libgcc_s.so when searching for ...
0
votes
1answer
574 views

LFS-7.5 chapter 6.9 `make check` fails

I am building and installing glibc-2.19 in chapter 6.9 and I encountered this error while executing TIMEOUTFACTOR=16 make -k check | tee glibc-check-log: mv -f ...
0
votes
0answers
132 views

arm Glibc 2.19 'make check' error and ld error post install (non-standard dir), Should I report a bug, or have I done something wrong?

[I have a Galaxy SIII with the Snapdragon S4 and the Krait CPU.] Well I burnt out my laptop one way or the other, so I am stuck with this old computer and my phone which has 4x the memory and about ...
1
vote
1answer
242 views

On Debian (64-bit), how do I install glibc that I built from source?

When I tried to do this, my system broke, with every program immediately segfaulting. I believe it's because it installed a new version of ld-linux-x86-64.so.2 in /lib64 but when a program was loaded ...
0
votes
1answer
1k views

Centos 6.5 iconv 2.5 glibc

I'm using Centos 6.5 x64 for developing purposes. I need to install iconv 2.5 but could not find how. Centos 6.5 glibc version is 2.12 On Centos 5.9 glibc version is 2.5 Why newer Centos uses older ...
2
votes
1answer
413 views

LFS 7.5 - Glibc-2.19 compile errors at section 6.9, are they fatal to my LFS build?

I am using a host Ubuntu 14.04 system, and I am currently going through the Linux From Scratch guide here. At section 6.9, http://www.linuxfromscratch.org/lfs/view/stable/chapter06/glibc.html, after ...
0
votes
2answers
59 views

Compiling for Red Hat 5.9

I need to compile a C++ application to run on Red Hat 5.9, but I don't have access to a development server that runs Red Hat 5.9. My current executable compiled on Ubuntu 10.04 produces the error ...
0
votes
4answers
3k views

Why does “yum update” fails with many duplicates, after many months of no upgrades?

After many months (> 6) of no software upgrades, I logged into an EC2 instances running: Linux version 2.6.32-358.23.2.el6.x86_64 (mockbuild@x86-022.build.eng.bos.redhat.com) (gcc version 4.4.7 ...
5
votes
1answer
813 views

Using alternate libc with ld-linux.so hacks; cleaner method?

I have a legacy system with a very old glibc, which we can't upgrade without incurring a mountain of testing/validation work. I have needed to run newer programs (such as Java 1.7) on that system ...
2
votes
0answers
168 views

Can't compile glibc for 64 bit system

I'm trying to compile glibc-2.16 statically for x64 system, ../configure --enable-kernel=2.6.9 --prefix=/run/shm/libc-static-64 --enable-static --enable-shared --host=i486-linux-gnu ...
0
votes
2answers
5k views

CentOS yum install gcc error: glibc-common conflicts with glibc

I met a problem with installing gcc on my CentOS. Outputs of my command sudo yum install gcc: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: centos.ustc.edu.cn ...
1
vote
0answers
122 views

How to install libc6 from unstable repository on Debian?

This is my server: Linux nn15.project.org 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux Debian GNU/Linux 7.1 (wheezy) Release: 7.1 I have sudo permissions. How can I install libc6 from ...
2
votes
0answers
145 views

How to find out which package of libc6 I need?

I am running into following error: version GLIBC_2.14 not found version GLIBC_2.15 not found when trying to install software I need. Therefore, I decided to upgrade libc6 on my debian (Linux ...
2
votes
1answer
206 views

Why is =sys-libs/glibc-2.16's --enable-kernel is ignored on Gentoo Linux?

I'm trying to build eglibc support for old kernels, 2.6.9 in this case. So I set NPTL_KERNEL_VER in make.conf, and during configuration phrase I can see the --enable-kernel=2.6.9 parameter But this ...
2
votes
3answers
124 views

None of the linux programs work except 'cd'

Before stating the question, here's what I did and observed before the problem started: On a fedora 18 Xfce, I tried compiling 3.6.10 kernel with a cdv driver, After many attempts, it finally ...
3
votes
2answers
356 views

Libraries crash after installing experimental version of libc6

My Debian system is not booting anymore after installing the experimental version of libc6. I've got this message on boot: /sbin/init: error while loading shared libraries: libsepol.so.1: ...
0
votes
1answer
220 views

Utilizing a newer standalone glibc [duplicate]

We're running RHEL6, which only officially supports glibc 2.12. A user is requesting that we install a newer version. I grabbed 2.18 from http://ftp.gnu.org/gnu/glibc/ and had no trouble running ...
0
votes
2answers
356 views

Some errors when building Glibc LFS - are they harmless?

I've finished chapter 5. When I'm building glibc, I get some errors: root:/sources/glibc-build# grep Error glibc-check-log make[2]: *** [/sources/glibc-build/posix/tst-getaddrinfo4.out] Error 1 ...
2
votes
0answers
885 views

How to compile gcc toolchain with special sysroot correctly?

I try to compile a new gcc, including binutils and glibc. Since I can not be root, I want to install it all in ~/local. I set these variables: PREFIX=~/local && export PREFIX ...
1
vote
1answer
2k views

How to properly upgrade glibc?

The firmware of my NAS comes with a rather old version of glibc, namely 2.5. In order to cope with some precompiled binaries linked* to glibc 2.15, I would like to upgrade it. From some simple testing ...
11
votes
1answer
723 views

Is there an easy method for installing binary builds of glibc?

Time and time again I see questions such as these: GLIBCXX 3.4.15 on Centos 6 CentOS 4.8 and glibc 2.5 And these are the types of solutions we're typically pushing: how to run new software ...
0
votes
1answer
70 views

Squeeze/Lenny compilation : Library Link error

I've got a problem here : I have a C++ Library ("DataTsBroad") and a C++ Test app ("DataTsBroadTest"), to test it. Actually, the Lib and the Test app are both compiled an a Debian Lenny. Now, i ...
1
vote
1answer
294 views

Install single debian experimental packages? [duplicate]

I'm continually getting this error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found What I did before was add the Debian experimental repo and update to 2.17. But through a long ...
0
votes
1answer
141 views

Debian experimental package refuses to install?

I keep getting this error: ./binary: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by ./binary) I tried the instructions here: ...
5
votes
1answer
103 views

Upgrade kernel for linux system without upgrading user apps/libs?

I built a custom Linux "recovery-cd" image that consists of a compressed initrd and boots via bcdedit (like Ubuntu Wubi) instead of a physical CD. It has various recovery tools for partition editing, ...
10
votes
3answers
56k views

Need to install glibc >= 2.14 on Wheezy

I am trying to get Protractor working for performing e2e angular testing, but protractor requires Selenium which requires ChromeDriver which requires glibc 2.14. My current development box is running ...
1
vote
1answer
69 views

Can the wilderness chunk be busy?

I'm curious about one aspect of heap management in linux, and particularly in ubuntu's build of glibc 2.17. I understand that the last chunk in each heap, the top or wilderness chunk, tends to be ...
3
votes
2answers
2k views

llvm and clang on CentOS 5 without root permissions?

I am trying to have llvm and clang on a centOS 5 without root permissions. I tried to do it downloading llvm and clang src packages and trying the ususal configure, make and make install steps as ...