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

learn more… | top users | synonyms

0
votes
0answers
15 views

How can I compile a more compact glibc?

While trying to create an x86-64 appliance, I naturally wanted to compile glibc 2.23. I managed to do so through mkdir build cd build ../configure --enable-kernel=2.6.32 ...
7
votes
2answers
714 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 ...
1
vote
0answers
16 views

Why does libcap use obfuscated pointer for cap_t [migrated]

Why is cap_t defined as _cap_struct *? What was the reasoning for obfuscating the pointer type and having libcap functions take/return cap_t when normal libc usage suggests they would take/return a ...
1
vote
0answers
72 views

yum update glibc - ERROR with rpm_check_debug vs depsolve:

I want to update my system with yum update but I get only errors starting with these two lines: Running rpm_check_debug ERROR with rpm_check_debug vs depsolve: Then, I tried only to update the ...
1
vote
1answer
104 views

Locally-installing glibc-2.23 causes all programs to segfault

I'm trying to upgrade glibc on a system on which I do not have root access. Therefore, I'm installing to a local prefix. I would like some help understanding best practices for setting this up, as ...
0
votes
0answers
35 views

Can I run an application using a different libc version?

Is there a way to make an application use a specific libc instead of the libc my system normally uses? I sometimes participate in CTFs and the minor differences in behaviour between libc versions can ...
0
votes
1answer
319 views

How to fix ld-linux-x86-64.so.2 CRC mismatch?

Not sure how I came to getting this problem but for some reason ld-linux-x86-64.so.2 is reporting a CRC mismatch and it's effecting a program that I cannot open which results in a segfault. the ...
0
votes
0answers
9 views

Compiling Glibc, differently

I'm attempting to compile and package Glibc for what may eventually become my own Linux distribution. --with-headers=directory allows me to tell Glibc that the kernel headers are in a different ...
0
votes
2answers
66 views

Is Chromium OS a GNU/Linux distro?

I want to ask, if Chromium OS is a GNU/Linux distribution or is it a non-GNU Linux-based operating system like Android, webOS or Syllable Server. Does Chromium OS use GNU C Library, GNU coreutils ...
2
votes
2answers
95 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. ...
3
votes
1answer
175 views

Glibc Patch for getaddrinfo() vulnerability

I have been seeing a lot about the newly discovered vulnerability in the glibc library which can be exploited (albeit with difficulty) by attackers. Here is a (fire and brimstone) article on the ...
4
votes
1answer
159 views

Debian wheezy updates broke tr command [closed]

After I updated the following packages yesterday in debian wheezy, tr command stop working. Start-Date: 2016-02-16 23:10:06 Commandline: apt-get dist-upgrade Upgrade: libkrb5-3:amd64 ...
0
votes
2answers
9k 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 ...
8
votes
2answers
281 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, ...
3
votes
1answer
141 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" >> ...
2
votes
0answers
202 views

GLIBC not loading even after source compilation

While I am installing chef , I am getting below error. [root@centos Tools]# chef-server-ctl reconfigure /opt/opscode/embedded/bin/ruby: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ...
17
votes
4answers
16k 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 ...
14
votes
3answers
98k 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
2k 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 ...
1
vote
1answer
649 views

Eglibc cannot compile suffix of object files while trying to cross compile

I'm currently making my way through Trac's CLFS book. When trying to configure the 32-bit version of EGLIBC-2.15, using the options: BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILD32}" \ ...
1
vote
1answer
385 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 ...
0
votes
1answer
2k views

How to update libc(glibc) on kali linux (debian based)?

I get the following error when I try to run armitage, and furthermore I get errors when i try to install certain packages or when I run certain software. root@Xeno:~# armitage Exception in thread ...
1
vote
0answers
1k views

Broken System due to upgrading libc6

I am using Kali, and I tried to upgrade libc6, because it comes with a lower version than I need. After downloading the latest package from the debian repo ...
0
votes
1answer
26 views

How can I check whether my cross-compilation of a dynamic library has been done correctly?

I used my arm toolchain to compile the glibc library, I have already deployed this on the target device (linux) with no issues. How can I be sure that my compilation and deployment is done correctly ...
1
vote
0answers
93 views

Ubuntu unzip error: sysmalloc assertion failed

I'm trying to unzip a multipart zip file (that I had originally zipped in Windows using WinRAR). The file consists of 4 parts: me.zip and me.z01, me.z02, me.z03 and me.z04. The command I'm using to ...
0
votes
0answers
54 views

Building glibc doesn't produce 64 bit libc.so.6

I'm trying to build glibc with a 64bit version of libc.so.6 since a library I'm trying to use wants glibc_2.14+ but it isn't provided because the system I'm running on I don't have root access and the ...
1
vote
2answers
279 views

“GLIBC” can not be used when I have installed the gcc 5.1.0

When I have installed gcc 5.1.0, I found lots of my programs cannot be used, such as firefox, gnome: they will give me a message "GLIBC_2.1X not found". Now the version of GLIBC is higher than before, ...
2
votes
0answers
53 views

How to remove a broken installation of glibc

I just attempted to install glibc version 2.19 to my computer as follows: 1) I cloned the glibc git repo with $ cd ~ $ git clone git://sourceware.org/git/glibc.git 2) I checked out version 2.19 ...
3
votes
1answer
380 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 ...
2
votes
1answer
174 views

Find out glibc compilation options

I want to find out which compiler/linker options were used to compile the GNU C Standard Library (glibc) when installing Linux. In particular I want to get the same result of the archive libc.a when ...
2
votes
1answer
276 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 ...
5
votes
1answer
6k views

How can I downgrade a glibc version?

I upgraded glibc for a reason that isn't around anymore so I want to downgrade it. The stupid thing is a lot of programs rely on glibc at the moment. I still have the 2.4 version on the system as the ...
1
vote
2answers
26 views

What's the advantage of locale archives over locale files spread out in directories?

I am quite curious about why locale-archive files are preferred in many Linux distros and what and to which extent its advantage over compiled files for each locale would be.
0
votes
3answers
77 views

New signal arrives while execution is in a signal handler, how to decide which is first?

I am working on a tool handling a massive amount of signals (with different signums) with sigaction(). I need to handle the case, if a new signal is coming, while the previous was in a signal ...
1
vote
2answers
58 views

Specifying local libc does call global libc?

If I run the command foo specifying a a different libc to use as follows: LD_LIBRARY_PATH=$PATH_TO_MY_CUSTOM_LIBC foo Is the globally defined libc used to run any of the command given above? For ...
1
vote
0answers
114 views

How to manually upgrade libc6?

I have a live linux distro, taken from this article. My working linux is Ubuntu 14 x64 where I build the live distro. I need to add an application to distro, so I copied executable to bin folder, ...
2
votes
1answer
4k views

Upgrading Ubuntu 14.04 to glibc 2.20 or greater

I have an application written in Go that is crashing frequently and I think it's related to an issue that was fixed in glibc 2.20. My Ubuntu 14.04.3 LTS has glibc 2.19 according to ldd --version. ...
34
votes
2answers
974 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 ...
0
votes
1answer
233 views

RedHat Glibc - multiple packages

Before I jump into the issue, I am using RedHat 6.5 and have no access to the internet to download yum updates due to environment restrictions. All I have in this case is the CD ROM (RHEL 6.5) to ...
0
votes
1answer
152 views

GLIB dependencies on RHEL5

I want to try to use the new Visual Studio Code on RHEL5. But when I run it, it says that I am missing some dependencies. How do I install them? (15-08-07 19:21:25) <127> [~/VSCode] dev-dsk % ...
7
votes
1answer
18k 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
0answers
1k views

../lib/libc.so.6: version `GLIBC_2.12' not found

I'm running a debian wheezy (7.8) box and I just ran into a problem with an application that needs `GLIBC_2.12'. The glibc-linking seems confusing to me. Maybe someone can enlighten me? The program ...
2
votes
0answers
174 views

Debian: How to resolve relocation error?

I am running Debian 7.1. I tried to apt-get install -f, and messed up. All command line returns ln: relocation error: /lib/arm-linux-gnueabihf/libc.so.6: symbol _dl_find_dso_for_object, version ...
1
vote
1answer
142 views

Run a program with a newer libc

How do I run a program that was compiled against glibc 2.14 on an old system? I'm unable to update anything. Can I download newest glibc and somehow have the program use it instead of the installed ...
0
votes
0answers
168 views

SIGSEV on lots of GUI-software on arch linux. Seems to be glibc related

On my arch linux install, I can't open firefox, evolution, geary, midori and other software. All CLI-stuff I've tried works flawlessly, and also google-chrome-unstable, vlc and others. When ran in gdb ...
1
vote
1answer
100 views

Antergos libpthread causes segmentation faults

A lot of the programs I use on my machine exit with segfaults. Nearly all programs function normally until being closed, at which point they segfault. So far the only two programs that have not worked ...
0
votes
1answer
195 views

Suse: How to update a single package in SLES10 SP4

I am in the middle of an activity and have never worked with SLES10 SP4 In SLES11 zypper update glibc* update all glibc packages .. but this is not working in SLES10 SP4 .. can someone tell me how to ...
1
vote
1answer
66 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 ...
1
vote
5answers
8k 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 ...
2
votes
2answers
67 views

Releasing linux software - compatibility

I want to release a C++ library for Linux. Is it true that (when no other libs are dynamically linked) only the glibc version decides compatibility to other Linux distributions? Is there a better way ...