Questions tagged [glibc]

glibc (GNU C Library) is the C standard library from the GNU project.

75 questions
61
votes
3 answers

How to fix "/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found"?

How to fix this error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found Platform: Linux alef 3.2.0-4-amd64 #1 SMP Debian 3.2.35-2 x86_64 GNU/Linux
xliiv
  • 755
24
votes
3 answers

On which systems should I prefer “musl” or “gnu” binaries?

Several rust utilities include binaries for linux with musl and gnu suffixes, leaving me to wonder which one should I use, and why? Examples: https://github.com/chmln/sd/releases provides musl and gnu for…
balupton
  • 585
20
votes
1 answer

What is / does ld.so.preload do?

I stumbled upon a file called ld.so.preload and can't find any real usage for it. Does it have something to do with the env variable LD_PRELOAD ?
Teee
  • 313
13
votes
3 answers

GHOST glibc vulnerability (CVE-2015-0235): is it required restart a server after glibc upgrade?

I want to update glibc according to RedHat: https://rhn.redhat.com/errata/RHSA-2015-0090.html Is it required restart a server after the glibc upgrade?
Michael
  • 251
  • 2
  • 5
7
votes
4 answers

Where to download missing libc.so.6

I recently accidentally deleted the file /lib/x86_64-linux-gnu/libc.so.6. This file is needed by most programs, so my computer is basically broken and I can only access the hard drive through a live USB. I'm running 64-bit Crunchbang Waldorf, which…
6
votes
1 answer

How to build a self-sufficient gcc/glibc/binutils set in a non-standard path?

Suppose a set of custom-built gcc/glibc/binutils are in $prefix (e.g. /home/user/path) I want: gcc to look for libraries in $prefix/lib64 instead of /lib64 gcc to look for headers in $prefix/include instead of /include to use…
netvope
  • 5,475
5
votes
2 answers

How exactly a system might break by updating glibc?

Suppose that I have a program that relies on a newer glibc version that is not available in the system via packages. And it gives: version `GLIBC_2.xxx' not found One solution is compiling the binary with glibc statically. The other solution that…
4
votes
1 answer

Upgrading glibc in centos 6.6

My server is using glibc-2.12.x. when I install certain packages it gives an error.Dependency not found glibc-2.14 or above is required.When I try using yum install glibc* it says server is already installed with the latest version. how can i…
NINJA
  • 101
4
votes
1 answer

unable to install libc6-dev

I type in sudo apt-get install libc6-dev and get the following back: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible…
neubert
  • 7,574
  • 39
  • 94
  • 156
4
votes
2 answers

Installing selinux headers

I'm trying to build the newest version of glibc (2.19) on CentOS 5.6 and I've run into some issues The documentation of glibc says that I need at minimum the linux kernel headers 2.6.19 (even if this is not the kernel I am using). I tried to install…
4
votes
1 answer

segfault error 4 in libc-2.11.1.so

Key Info: Ubuntu 64 Lucid (No memory issues, no new hardware) Nearly every application dies with this segfault. Googling around finds dozens of posts that have this exact problem and not a single solution so hopefully you guys can give me a…
Shawn
  • 51
4
votes
1 answer

How to upgrade libc version on Red Hat 8?

I am running Red Hat Enterprise 8.2 with a libc version glibc-2.28-189.5.el8_6.x86_64 which has a bug : glibc causes deadlock. It was fixed on glibc-2.28-206.el8 How do I upgrade only the libc version? and make sure it is compatible with this OS?
joepol
  • 141
4
votes
1 answer

Forward/backward compatibility of glibc and the kernel

Suppose you have glibc 2.5 compiled with kernel headers 2.6.18 Is it safe to run this glibc with Linux kernel 2.6.32? Is it safe to run this glibc with Linux kernel 2.6.9?
netvope
  • 5,475
3
votes
2 answers

Installing a specific glibc version on debian/apt

A user of my software uses Debian wheezy. The software generated a core dump that I want to analyze. However, for this to work, I require the correct versions of low level system libraries, especially the glibc. So I installed the debian version…
3
votes
2 answers

Version `GLIBCXX_3.4.15' not found in CentOS (in file /usr/lib/libstdc++.so.6)

I try to use a program and I get the following error. /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found Under /usr/lib64 the libstdc++ I see is libstdc++.so.6.0.13 (and a soft link). With strings libstdc++.so.6.0.13 | grep GLIBCXX I…
George Kastrinis
  • 115
  • 1
  • 1
  • 11
1
2 3 4 5