Skip to main content

Questions tagged [glibc]

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

Filter by
Sorted by
Tagged with
63 votes
3 answers
237k 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 ...
tonga's user avatar
  • 811
17 votes
1 answer
14k views

Installing two glibc alongside in debian/ubuntu

Is it possible to install and use two different glibc versions on the same machine. Where one version is only used to run legacy software, which relies on old glibc binaries? Is it possible to do ...
Elazar Leibovich's user avatar
45 votes
4 answers
110k 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 ...
MUY Belgium's user avatar
  • 1,264
13 votes
1 answer
6k views

Unexpected sort order in en_US.UTF-8 locale

While trying to answer this question about SQL sorting, I noticed a sort order I did not expect: $ export LC_ALL=en_US.UTF-8 $ echo "T-700A Grouped" > sort.txt $ echo "T-700 AGrouped" >> ...
Andomar's user avatar
  • 288
78 votes
2 answers
35k views

Why and how are some shared libraries runnable, as though they are executables?

On 32-bit Linux systems, invoking this $ /lib/libc.so.6 and on 64-bit systems this $ /lib/x86_64-linux-gnu/libc.so.6 in a shell, provides an output like this: GNU C Library stable release version ...
Ho1's user avatar
  • 2,634
37 votes
4 answers
4k views

Does bash open files in O_APPEND when using ">>" on linux?

If we use echo 1234 >> some-file then Documentation says that the output is appended. My guess is that, if some-file does not exist, then O_CREAT will make a new file. If > was used, then ...
Prem's user avatar
  • 3,360
31 votes
3 answers
27k views

Can new glibc versions be used with an old kernel?

Apparently glibc can be compiled with --enable-kernel to support older kernel versions. However, I haven't been able to find information on what kernel versions are supported on a particular glibc ...
netvope's user avatar
  • 1,105
26 votes
1 answer
1k views

What would be the best way to work around this glibc problem?

I administer a Gentoo Hardened box that uses file capabilities to eliminate most of the need for setuid-root binaries (e.g. /bin/ping has CAP_NET_RAW, etc). Infact, the only binary I have left is ...
Aaron Jones's user avatar
20 votes
3 answers
30k views

how to run new software without updating GLIBC?

I installed Mathematica 9 on an old Red Hat Enterprise Linux AS release 4 system. After the installation, I tried to start Mathematica, but following message came out: /home/wcbao/M/Wolfram/...
user15964's user avatar
  • 713
14 votes
1 answer
7k 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 without ...
slm's user avatar
  • 373k
13 votes
1 answer
7k 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 ...
devnull's user avatar
  • 5,491
6 votes
1 answer
9k views

difference between libc6-dev and libc6

libc6-dev:amd64 package in Debian contains all the common header files in C programming like stdio.h, ctype.h, time.h, etc. Am I correct that libc6:amd64, which is as far as I know required by ...
Martin's user avatar
  • 7,686
1 vote
1 answer
631 views

what does elibc_FreeBSD mean in gentoo portage overlays?

I have a gentoo overlay which has been added to http://gpo.zugaina.org/. One of my ebuilds recMD5 now shows the use flag elibc_FreeBSD even though I didn't add it. I am also running into it for a ...
John Mercier's user avatar
29 votes
5 answers
38k views

Why is almost every program complaining about my locale?

I'm using Arch Linux, and I've followed the directions on the wiki about setting my locale. Nearly every program that runs complains about the locale - even locale. It looks like this: % locale ...
Shawn J. Goff's user avatar
23 votes
3 answers
166k 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 ...
chris's user avatar
  • 503
21 votes
3 answers
7k 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 ...
Robert Rossmann's user avatar
13 votes
1 answer
7k views

What is in the output of "getent ahosts"?

What are the fields printed by getent ahosts DOMAIN? The output for getent hosts is a simple combination of IP and hostname. The getent ahosts has an additional third field that is, in all my test, ...
gioele's user avatar
  • 2,189
12 votes
2 answers
15k 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 -...
Gosere's user avatar
  • 223
11 votes
1 answer
31k 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 ...
Tobias Kienzler's user avatar
8 votes
1 answer
2k views

Why doesn't unsetenv() modify /proc/pid/environ?

I was just looking at this question and wrote a noddy program to demonstrate unsetenv() modifying /proc/pid/environ. To my surprise it has no effect! Here's what I did: #include <stdio.h> #...
Flup's user avatar
  • 8,225
5 votes
6 answers
33k 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 ([email protected]) (gcc version 4.4.7 ...
Kode Charlie's user avatar
4 votes
1 answer
1k views

Why is sigset_t in glibc/musl 128 bytes large on 64-bit Linux?

Why is sigset_t on 64-bit Linux 128 bytes large in glibc and musl? #include <signal.h> #include <stdio.h> int main() { printf("%zu\n", sizeof(sigset_t)); //prints 128 with both glibc ...
Petr Skocik's user avatar
  • 29.2k
4 votes
1 answer
2k views

CentOS 4.8 and glibc 2.5

How would I go about installing glibc 2.5 on CentOS 4.8? I know CentOS 4.8 has been EOL'd, which is all good and well. However, the environment that I am working in is using this version, and will ...
Tango Bravo's user avatar
2 votes
1 answer
944 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 ...
user avatar
2 votes
1 answer
1k views

Make stdout and stderr be buffered by the same buffer

Is it possible to force glibc to use the same buffer for stdout and stderr? If I tee the both outputs: ./tests/tests 2>&1 | tee log I get mixed messages (i.e. messages are ordered inside ...
Maja Piechotka's user avatar
2 votes
1 answer
14k views

can not install mysql-server on centos 6.7 32bit . Error: need rpm?

when I try to install mysql-server on centos with this command: yum install mysql-server server replies: Loaded plugins: fastestmirror, security Setting up Install Process Loading mirror speeds ...
Ahmad Mobaraki's user avatar
1 vote
2 answers
19k views

" /lib64/libc.so.6: version `GLIBC_2.7' not found" Error when installation of R package

I met a problem when trying to install a R package called "GenomicFeatures", Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '$HOME/.R325/lib64/R/library/RCurl/libs/...
Jun's user avatar
  • 541
1 vote
1 answer
6k views

How to redirect linker share library default path /lib64/libc.so.6, /lib64/libc.so.6: version `GLIBC_2.14' not found

My linux machine is x86_64-redhat-linux. However I am using another arm tool chain aarch64-linux-gnu-gcc on this machine to build(I don't need to run what I build on this machine, just build, so it ...
hellocoding's user avatar
1 vote
1 answer
1k views

Arch linux: locale issue [closed]

After replacing of glibc with glibc-git the system does not have any locales at all. I've switched back to glibc and it is the same (no locales). Trying to regen the locales I get: # locale-gen ...
user avatar
0 votes
2 answers
2k 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 make[...
enedil's user avatar
  • 1,674
0 votes
1 answer
1k views

Emulating an AARCH64 Binary calling libgps on x86_64 Ubuntu using QEMU gives "Error relocating: symbol not found" Errors

This is similar to the issue posted here and here. I want to reverse engineer a binary called gpslogger but before debugging it using GDB, I wish to simply emulate it using QEMU (qemu-aarch64) since ...
Newbie's user avatar
  • 135