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

learn more… | top users | synonyms

8
votes
2answers
398 views

How to make linux 'perf record' work for libc and libstdc++ symbols?

I'm using perf record -g on x86-64 Linux to profile a program. Several symbols in libc or libstdc++ have 0 as a parent: __GI___strcmp_ssse3 (libc) and strcmp@plt (libstdc++) for example. (I can ...
3
votes
1answer
2k views

How can I downgrade a glibc version?

I upgraded glibc for a reason that isn't arround anymore so i want to downgrade it again. The stupid thing is a lot of programms rely on glibc at the moment. I still have the 2.4 version on the system ...
0
votes
1answer
749 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 ...
0
votes
0answers
39 views

Cross compile GLIBC : error: Need linker with .init_array/.fini_array support

Whenever I call glibc configure with --prefix=/usr --with-headers=/var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/sysroot/usr/include --host=armv7a-hardfloat-linux-gnueabi ...
2
votes
3answers
108 views

Yum says a package is installed, and not installed, and it's blocking other packages from being installed

I am trying to install a new package (glibc-static), and I get the following error ---> Package nss-softokn-freebl.i686 0:3.14.3-18.el6_6 will be installed --> Finished Dependency Resolution ...
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 ...
2
votes
1answer
430 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 ...
4
votes
1answer
3k 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 ...
1
vote
1answer
32 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 ...
2
votes
0answers
35 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
47 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
57 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. ...
5
votes
1answer
912 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 ...
0
votes
4answers
4k 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 ...
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 ...
1
vote
0answers
70 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
34 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
516 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 ...
10
votes
3answers
60k 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 ...
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 ...
6
votes
2answers
150 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, ...
1
vote
0answers
127 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 ...
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 ...
5
votes
1answer
608 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 ...
0
votes
2answers
64 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 ...
5
votes
1answer
346 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 ...
4
votes
2answers
1k 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
111 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
122 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
181 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
138 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
50 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 ...
2
votes
2answers
1k views

How to install multiple glibc on fedora

I have Fedora 4 installed on my computer and it has glibc version 2.5.3, but I want to install a software that needs a glibc 2.7+. On the other hand, I have some programs that need this 2.5.3 version. ...
0
votes
2answers
5k views

Install older version of GLibc on RHEL

I'm trying to install GCC 4.4 on RHEL6: sudo rpm -ivh /mnt/dvd/Packages/gcc-4.4.3-1.el6.x86_64.rpm. But the problem is that is depends on glibc and glibc-common libraries. When I try to install them ...
0
votes
1answer
59 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 ...
0
votes
1answer
58 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 ...
2
votes
1answer
775 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
641 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
140 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
250 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 ...
2
votes
0answers
173 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 ...
2
votes
1answer
216 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
0answers
151 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 ...
3
votes
2answers
373 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: ...
2
votes
3answers
125 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 ...
0
votes
1answer
229 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
379 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 ...
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, ...
2
votes
0answers
970 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 ...